Jump to content

SizzleBae

Members
  • Posts

    10
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by SizzleBae

  1. https://wiki.mcjty.eu/modding/index.php?title=Main_Page This one by McJty is pretty good imo
  2. First of all, he didn't even say "professional". Second, if that definition is so bad, what is a better one then? Also, modding in Minecraft absolutely requires you to know programming, even with the MASSIVE help of forge. After all, you were asking for help with programming in Minecraft modding, weren't you?
  3. Welcome! Here is the forge official server: https://discord.gg/UvedJ9m
  4. @Override public void onReplaced(IBlockState state, World worldIn, BlockPos pos, IBlockState newState, boolean isMoving) { if(worldIn.isRemote()) { return; } if(!(newState.getBlock() instanceof BlockCrystal)) { worldIn.removeTileEntity(pos); } } Yeah, I did this to prevent that. It kept on spawning my block when I tried to remove it ^^
  5. Oh, that explains it! I recently overrided it Thank you!
  6. Umm, so I overrode the network functions in tile entity, and now it seems that the tile entity persists. This happens both on remote world and not remote world. So I think it is okay now, because I can easily destroy the tile entity when I do not want it anymore Is it supposed to be persistent by default, or have I done something wrong?
  7. It no longer exists I am afraid...
  8. Hey! I have tried to make somewhat of a "battery" block, that charges over time and when it reaches certain power thresholds it changes the block state to update the block's texture. I do this by having a tile entity, since I want a lot of power, and I don't want to generate thousands of block states. However, when I change the block state containing the tile entity, it is destroyed and gets recreated at 0 charge again, this loop then repeats. At https://mcforge.readthedocs.io/en/latest/tileentities/tileentity/, there is a section labeled "Keeping a TileEntity through changing BlockStates" that says I can achieve this by overriding the function "TileEntity#shouldRefresh". This function appears to be removed entirely in [1.13.2], is there a new way to do this? I have tried to look at the furnace block and tile entity for help, but I have had no success so far...
  9. Thank you so much for your tips, everyone! I am happy to see such an active forum :) I will take you up on the tips concerning looking at other [1.13.2] mod sources and vanilla source. Also, McJty's wiki and youtube tutorial look promising. I will try some different learning methods, and if I absolutely have to, I'll post threads concerning specific problems in the future! Again, thanks a lot for your responses! :)
  10. Hi! I have been wanting to get into Minecraft modding, but it seems that I might have chosen a bad time to start. From what I can tell, [1.13] brought a lot of structural changes to Minecraft, and forge is doing the same to keep up. At first, I thought I should start with [1.12]. But I really do not want to, as I will be learning outdated workflow and structuring. So I decided to stick with [1.13]... The official Forge documentation looked promising, but it seems to be outdated, which is understandable considering that [1.13] Forge is still in beta. I have tried to find good resources on how to learn [1.13] forge, besides this forum, I have had little success... The forum has at least saved me from using bad learning resources since there appear to be many pitfalls in Minecraft modding... Every time I find a learning resource, I always see the comments saying "this is bad practice", stuff like that. I have found some learning resources for people transitioning to [1.13]. But I have yet to find resources designed for new modders... I think I have programming experience sufficient for getting into this. So in the end, my question is, does anyone have any pointers to some good resources or tips? All help is very much-appreciated! :)
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.