Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

starstorms21

Members
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About starstorms21

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. So i want to make a fancier glass block, where it has connected textures to apear clear. I have a all the variants of the texture i could ever need but im not sure how to go about actualy making the blockstate/model/whatever is needed to actually allow the textures to connect. Any help/tutorials/links would be great!
  2. im not quite sure how to modify nbt in 1.15.2 do you maybe have any sources/tutorials i could look at?
  3. I want to make a custom item that holds information, for example: A description An int from 1-100 to show the 'completion' of the item (that could change in game) ect In older versions (1.12.2) i would do this with stack nbt, but right now in 1.15.2 i have trouble finding alternatives. Anything i can do?
  4. if above doesnt work then switch the super and worldIn#setBlockState, as the super removes the block and then the worldIn#setBlockState places the stone down
  5. Try overriding OnBlockHarvested in your block class, then do something along the lines of: @Override public void onBlockHarvested(World worldIn, BlockPos pos, BlockState state, PlayerEntity player) { worldIn.setBlockState(pos, Blocks.STONE.getDefaultState()); super.onBlockHarvested(worldIn, pos, state, player); } replace stone with the block you want
  6. Fixed the error, completely my mistake! I had set the block to render as invisible in the block class, im dumb. Thanks for your help.
  7. My updated code: https://pastebin.com/eBWAryez and https://pastebin.com/3w13ad2u Problem still persists
  8. yah ofc i did, i tried them all but its invisible still
  9. tried: @Mod.EventBusSubscriber(modid = "jsaga",bus = Mod.EventBusSubscriber.Bus.MOD,value = Dist.CLIENT) @Mod.EventBusSubscriber(modid = "jsaga",bus = Mod.EventBusSubscriber.Bus.MOD) but still invisible block...what a head scratcher
  10. i added @Mod.EventBusSubscriber and tested it...still invisible blocks.
  11. i thought that would subscribe the class. How do i register my StartupClientOnly class to the Mod event bus?
  12. i tried to register it with MinecraftForge.EVENT_BUS.register(StartupMessageManager.class); in main.....but before i did, my plants were just: how would i go about subscribing to the event?
  13. oh, ppft, yeah fixed, i was trying to change the RenderType to see if it works and forgot to change it back. Sorry
  14. StartupClientOnly: https://pastebin.com/TKgS7Fas full mod class: https://pastebin.com/cEruQDQv the line you pointed out does compile btw, see post2 on my original post for the code
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.