Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Mac_Papalardo

Change the height of the TFC world

26 posts in this topic

I play TFC for a long time. And recently, I began to worry about the performance issue as me with my friends on our server. We think that changing the height of the world, we will be able to improve performance. I explored the source code of TFC, but found no possibility to change the height of the world. Does anyone know how to do it?

0

Share this post


Link to post
Share on other sites

That is a limit in Minecraft, not TFC. There were some mods that did this, one by Cuchaz, but I doubt they can be made to work with TFC. The one thing I can say for certain is that it will not improve performance in anyway. In fact it will make it worse. Increasing the number of blocks within the world means more information to process, blocks to render etc. Raising the height would just increase air blocks initially, so the impact wouldn't be as big compared to if they are actual blocks that need to be rendered.

0

Share this post


Link to post
Share on other sites

It looks to me like he is asking for a way to decrease the world Height, That would be even harder to do. Or maybe he is referring to the height of the oceans. It is not clear.

0

Share this post


Link to post
Share on other sites

Yeah, I don't want to increase the height, I want to reduce it to a standard 64 blocks or even 32 blocks in the source code I found the global variable SEALEVEL, but the change did not bring any results. To increase performance I have to reduce the average number of blocks per chunk, I think so.

Edited by Mac_Papalardo
0

Share this post


Link to post
Share on other sites

There is no way to change the height of the ocean and regular terrain. TFC creates 3 layers of stone, to reduce that you would need to change the basic code and would end up with a broken mod.

TFC is by itself a heavy mod, when you add other mods and addons to the mixture it makes even harder.

To be honest, in a multiplayer setup the thing that causes more trouble is the number of players, especially if each player is in a different place in the world. As the server will have to load more chunks.

If the world is not pre-generated, the server will have to generate terrain for each player that is exploring the world.

If you make a server with just tfc and no other mods and you plan to have, between 5 and 10 players online at the same time. You need at least a quad core with 8Gb of Memory. 

Is it possible to do with less, I guess so, but you will have heavy LAG.

Edited by TonyLiberatto
0

Share this post


Link to post
Share on other sites
1 hour ago, TonyLiberatto said:

Нет никакого способа, чтобы изменить высоту океана и регулярные ландшафты. ОКП создает 3 слоя камня, чтобы уменьшить, что вы должны изменить базовый код и будет в конечном итоге с разбитым мод.

Tfc-это сам по себе тяжелый мод, при добавлении других модов и аддонов к смеси, это делает еще тяжелее.

Если честно, в многопользовательской установки, что вызывает больше проблем такое количество игроков, особенно если каждый игрок находится в другом месте в мире. В качестве сервера придется загрузить еще фрагменты.

Если мир не создан, сервер будет генерировать местность за каждого игрока, который изучает мир.

Если вы делаете сервер с tfc и без других модов, и вы планируете иметь от 5 до 10 игроков онлайн в то же время. Вам понадобится как минимум четырехъядерный процессор с 8 Гб памяти.

Это можно сделать с меньшим, я так думаю, но у вас будет сильное отставание.

Thanks for your response, we will try to update the hardware.

0

Share this post


Link to post
Share on other sites
4 minutes ago, WallyBarnes said:

Yup, same concern as well.

I found a solution, but there's a problem I haven't been able to solve yet. The horizon shifted upwards because of this, at a height of 64, the sky is black. Now I don't have time to fix it.

2018-04-16_18.04.15.png

2018-04-16_18.05.19.png

0

Share this post


Link to post
Share on other sites
34 minutes ago, Morgana said:

@Mac_Papalardo Como você fez pra alterar o nivel do mar para y64?

I've been experimenting with the values of the variables. You need to download the source code https://github.com/Deadrik/TFCraft, then find the file com/bioxx/tfc/worldgen/TFCChunkProviderGenerate.java, you can open it with any text editor. I use Eclipse. The file has a variable indexOffset (location in the picture), which is responsible for the height of the world, the default is 128, I reduced it to 48 and got the height of the sea 64. After making the necessary changes, you need to compile .java to .class and place in jar with TFC. If you don't know how to compile java, welcome to Google.

2.PNG

0

Share this post


Link to post
Share on other sites
On 26/05/2018 at 2:30 PM, Mac_Papalardo said:

I've been experimenting with the values of the variables. You need to download the source code https://github.com/Deadrik/TFCraft, then find the file com/bioxx/tfc/worldgen/TFCChunkProviderGenerate.java, you can open it with any text editor. I use Eclipse. The file has a variable indexOffset (location in the picture), which is responsible for the height of the world, the default is 128, I reduced it to 48 and got the height of the sea 64. After making the necessary changes, you need to compile .java to .class and place in jar with TFC. If you don't know how to compile java, welcome to Google.

2.PNG

I can not open the source code in eclipse, and by notepad++ it got too much tin.

                                           Edit: I was able to open the file by IntelliJ. But I wanted to open Eclipse to test my changes.
My knowledge in programming and using these tools is very limited. (sad)

And actually the sea level in Minecraft Vanilla is y63, hehehe. How do I leave this level exactly?
Ah! A friend managed to fix the sky, just do not know how he did. And he does not have time to teach me how to handle these things. (very sad)

(Wow, it was to copy the part of google translator, I copied the text in Portuguese, kkkk)

Edited by Morgana
0

Share this post


Link to post
Share on other sites
16 hours ago, Morgana said:

I can not open the source code in eclipse, and by notepad++ it got too much tin.

                                           Edit: I was able to open the file by IntelliJ. But I wanted to open Eclipse to test my changes.
My knowledge in programming and using these tools is very limited. (sad)

And actually the sea level in Minecraft Vanilla is y63, hehehe. How do I leave this level exactly?
Ah! A friend managed to fix the sky, just do not know how he did. And he does not have time to teach me how to handle these things. (very sad)

(Wow, it was to copy the part of google translator, I copied the text in Portuguese, kkkk)

I tried to open the file through notepad++, but did not see the tin, maybe you have not opened .java, but .class. To make sea level 63, change the indexOffset to 47.

0

Share this post


Link to post
Share on other sites
1 hour ago, Mac_Papalardo said:

Eu tentei abrir o arquivo através do notepad ++, mas não vi a lata, talvez você não tenha aberto .java, mas .class. Para fazer o nível do mar 63, mude o indexOffset para 47.

I went on the path you indicated: TFCraft-master\build\classes\main\com\bioxx\tfc\WorldGen\TFCChunkProviderGenerate.class

When I open notepad ++ it gets bugged, and in InteliJ it does not let me change, and I can not open it through Eclipse.

I wanted to know how to open the complete source code for Eclipse. which is all the files and folders in a tab on the left side in Eclipse, so I have to test the mod in Eclipse without having to compile every time I make a modification, but I do not know how to do that.

 

Edit: Now that I've seen it has two paths:

TFCraft-master\src\Common\com\bioxx\tfc\WorldGen\TFCChunkProviderGenerate.java

TFCraft-master\build\sources\java\com\bioxx\tfc\WorldGen\TFCChunkProviderGenerate.java

 

dude, it gets really bad if I write here in portuguese, instead of translating into google translate? kkkkk, sometimes I forget to translate.

Edited by Morgana
0

Share this post


Link to post
Share on other sites
41 minutes ago, Morgana said:

I went on the path you indicated: TFCraft-master\build\classes\main\com\bioxx\tfc\WorldGen\TFCChunkProviderGenerate.class

When I open notepad ++ it gets bugged, and in InteliJ it does not let me change, and I can not open it through Eclipse.

I wanted to know how to open the complete source code for Eclipse. which is all the files and folders in a tab on the left side in Eclipse, so I have to test the mod in Eclipse without having to compile every time I make a modification, but I do not know how to do that.

 

Edit: Now that I've seen it has two paths:

TFCraft-master\src\Common\com\bioxx\tfc\WorldGen\TFCChunkProviderGenerate.java

TFCraft-master\build\sources\java\com\bioxx\tfc\WorldGen\TFCChunkProviderGenerate.java

 

dude, it gets really bad if I write here in portuguese, instead of translating into google translate? kkkkk, sometimes I forget to translate.

I do not see a problem, the Internet is full of guides on such a topic, I will give you the articles that I started with myself, but they are in Russian, you will need a translator.
Preface: https://minecraft-ru.gamepedia.com/Создание_модификаций_с_помощью_Forge
The main part: https://minecraft-ru.gamepedia.com/Создание_модификаций_с_помощью_Forge/1.7%2B
In the main part you only need to prepare the environment and setup, the rest is about how to write your mod. After the preparation you will need to unpack the src folder of source codes into a folder with forge and select this folder as workspace in eclipse.

And i found English video for you:  

 

Edited by Mac_Papalardo
0

Share this post


Link to post
Share on other sites
1 hora atrás, Mac_Papalardo disse:

You can see a problem, a Internet is full in the issue, you will precise the articles of the official blog, mas you are are in russo, you will precisar the articles of the traductor.
Prefácio: https://minecraft-ru.gamepedia.com/Создание_модификаций_с_помощью_Forge
Uma parte principal: https://minecraft-ru.gamepedia.com/Создание_модификаций_с_помощью_Forge/1.7%2B
Na parte principal, você já está preparando o ambiente e a configuração, o é sobre o seu modem. Após uma preparação, você precisa descompactar uma massa de código-fonte em uma pasta de macarrão e selecionar uma pasta como o espaço de trabalho no eclipse.

E eu encontrei o vídeo em inglês para você:  

 

Então copie a pasta src do código-fonte do TFC para uma pasta que faz o download na forja?

https://prntscr.com/jnqepw

 

Existe alguma conversa para nós se falamos mais fácil? Você tem discórdia? Adicionar: Morgana Stradivarius # 4406

Edit: Eu copiei o TFC src na pasta Forge, mas quando eu cliquei para testar o mod no eclipse ele não carregou nada do mod

Edited by Morgana
0

Share this post


Link to post
Share on other sites
15 minutes ago, Morgana said:

Então copie a pasta src do código-fonte do TFC para uma pasta que faz o download na forja?

https://prntscr.com/jnqepw

 

Existe alguma conversa para nós se falamos mais fácil? Você tem discórdia? Adicionar: Morgana Stradivarius # 4406

Edit: Eu copiei o TFC src na pasta Forge, mas quando eu cliquei para testar o mod no eclipse ele não carregou nada do mod

Yep. Do everything in stages. First, check whether Eclipse will see an empty project. When you start it asks you to specify workspace, you have to select the folder with Forge, then in the panel on the left you will see Minecraft. Then move the src. 
Most likely, after running eclipse, there will be errors in your project that you will need to connect to your library project to fix. These libraries are the usual mods in the format .jar. I for example plugged in [1.7.10] TerraFirmaCraft-0.79.29.922.jar. You can connect for example:
https://www.youtube.com/watch?v=UtzAf8tyuAM
English-international language I thought you will be comfortable to communicate with him.

0

Share this post


Link to post
Share on other sites
13 minutes ago, Mac_Papalardo said:

Sim. Faça tudo em etapas. Primeiro, verifique se o Eclipse verá um projeto vazio. Quando você inicia, pede para você especificar o espaço de trabalho, você tem que selecionar a pasta com o Forge, então no painel à esquerda você verá o Minecraft. Então mova o src. 
Muito provavelmente, após a execução do eclipse, haverá erros em seu projeto que você precisará conectar ao seu projeto de biblioteca para corrigir. Essas bibliotecas são os mods usuais no formato .jar. Eu por exemplo plugado em [1.7.10] TerraFirmaCraft-0.79.29.922.jar. Você pode se conectar, por exemplo:
https://www.youtube.com/watch?v=UtzAf8tyuAM
Idioma inglês-internacional Achei que você se sentiria à vontade para se comunicar com ele.

I already tried to make a mod once with the src that goes down the Forge website, but I had texture problems ...

https://prntscr.com/jnqqz6

 

what are the folders and files I have to copy from the TFC folder to the Forge folder ?????

Edited by Morgana
0

Share this post


Link to post
Share on other sites
19 hours ago, Morgana said:

I already tried to make a mod once with the src that goes down the Forge website, but I had texture problems ...

https://prntscr.com/jnqqz6

 

what are the folders and files I have to copy from the TFC folder to the Forge folder ?????

Just src.

0

Share this post


Link to post
Share on other sites
3 hours ago, Mac_Papalardo said:

Apenas src.

I copied only the src from the TFC folder to the Forge folder, and when I clicked to test the mod in eclipse it did not load anything from the mod.

0

Share this post


Link to post
Share on other sites

I was able to open TFC in Eclipse and make the modifications I wanted, thanks for everything.

0

Share this post


Link to post
Share on other sites
7 hours ago, Morgana said:

I was able to open TFC in Eclipse and make the modifications I wanted, thanks for everything.

Keep it up, good luck to you in all your endeavors. If you have corrected the sky, could you load yours .jar mod so I can analyze it.

0

Share this post


Link to post
Share on other sites
2 horas atrás, Mac_Papalardo disse:

Continue assim, boa sorte para você em todos os seus esforços. Se você corrigiu o céu, você poderá carregar o seu .jar para que eu possa analisar.

TFCraft_master \ src \ API \ com \ bioxx \ tfc \ api \ Constant \ Global.java

linha 135: final estático público int SEALEVEL = 63;

Coloquei 63 já que coloquei o nível do mar em y63

And it was not me who solved it, it was a friend. I'm very stupid for these things, kkkk

 

Cara, como eu deixo cada bioma com apenas um tipo de rocha? E adicione-me discórdia para trocarmos informações

Edited by Morgana
0

Share this post


Link to post
Share on other sites
32 minutes ago, Morgana said:

TFCraft_master \ src \ API \ com \ bioxx \ tfc \ api \ Constant \ Global.java

linha 135: final estático público int SEALEVEL = 63;

Coloquei 63 já que coloquei o nível do mar em y63

And it was not me who solved it, it was a friend. I'm very stupid for these things, kkkk

 

Cara, como eu deixo cada bioma com apenas um tipo de rocha? E adicione-me discórdia para trocarmos informações

You need to find the file TFSOptions.java in api folde of source code. At the end of this file, the variables rockLayer2Height and rockLayer3Height are responsible for the height at which the layer of stone begins. So the first layer is from 0 to 55, the second from 55 to 110, and the third from 110 to the surface. As you perhaps know standard TFC have 3 rock layers. Make both variables equal to 0 and you will have only one layer of stone. And what kind of discórdia?

0

Share this post


Link to post
Share on other sites