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

Trhod177

Members
  • Posts

    13
  • Joined

  • Last visited

Recent Profile Visitors

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

Trhod177's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. RenderSystem.setShaderColor(1.0f, 1.0f, 1.0f, 1.0f); and RenderSystem.setShaderTexture(0, Texture); and to register MenuScreens.register(containerRegistrationClass.container.get(), screenclass::new); also mojang dont name they variables that why its a byproduct of obfuscation i would recommend you use parchment mappings to give them all names https://github.com/ParchmentMC/Librarian/blob/dev/docs/FORGEGRADLE.md https://parchmentmc.org https://discord.parchmentmc.org/
  2. you need to use RenderSystem.setShaderColor and RenderSystem.setShaderTexture
  3. I'm blind, I'm been trying to figure this out for 4 days. Thank you so much.
  4. Im currently developing a mod and when i try to join a server it shows this error on the client Internal Exception: io.netty.handler.codec.DecoderException: io.netty.handler,codec.Encoder.Exception: java.io.UTFDataFormatException: malformed input around byte 4 Log Files: Client Debug Log (Gist) Client Latest Log (Gist) Server Debug Log (Gist) Server Latest Log (Gist) Source: Geomancy Source Code Github From the googling i have done, The few people i could find who had similar issues, there issues seem to have been fixed by making sure fromNetwork and toNetwork methods in custom recipes are identical. I have checked my recipes and as far as i can see there are no issues with either and they send and receive the same issue. Recipe classes: DippingRecipe.java github InfusingRecipe.java github And if someone could perhaps help my figure out what i did wrong with the tank in my blockentity it would also be appreciated. BlockEntity Class: DipperBlockEntity.java github
  5. I want to make it so the different tools give different drops and i saw other people saying to do it this way.
  6. Woops i dont know why that happened but the link is corrected Link
  7. I am trying to change what items are dropped by certain blocks when i tested it, it crashed with an error about a ticking entity. CrashLog My EventHandlerClass(link updated)if necessary
  8. i have a block that a want to multiple items (which it does) but i cant figure out how to get it to stop dropping itself Code
  9. Ok then how do distinguish between sand and redsand
  10. I've been trying to change the onHarvestBlock event to change what sand and red sand drops when you mine it, normal sand works fine but i cant get red sand to drop the proper item. Here is my code @Mod.EventBusSubscriber public class PocketSandEventHandler { @SubscribeEvent public void onHarvestBlock(BlockEvent.HarvestDropsEvent event) { final EntityPlayer PLAYER = event.getHarvester(); if(null == PLAYER || null == PLAYER.getHeldItemMainhand()) return; if(ConfigHandler.overridesanddrops == true) { if(event.getState().getBlock() == Blocks.SAND) { event.getDrops().add(new ItemStack(ItemInit.sandpile, 4)); event.getDrops().remove(0); } } if(ConfigHandler.overrideredsanddrops == true) { if(event.getState().getBlock() == Blocks.SAND.getStateFromMeta(1)) { event.getDrops().add(new ItemStack(ItemInit.redsandpile, 4)); event.getDrops().remove(1); } } } }
×
×
  • Create New...

Important Information

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