Jump to content

J_Dev

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by J_Dev

  1. I want to make it so that when the player wears my modded armor the game will detect it and act accordingly. in older versions I believe you had to do this. ItemStack helmet = this.getEquipmentInSlot(4); if(helmet == mymod.myhelmet) { //do this } but i believe it no longer works for 1.12.
  2. Okay I did everything else but I do not know how to do the IStateMapper thing. How do i do this, or could you point me to where i can learn about this. Thank you so much for the help so far, i reallt appreciate it. I am new to modding and all the help makes me really want to learn more.
  3. I did this and it worked. Thank you so much, however the block is no longer textured. How do i fix this?
  4. Thank you, I updated to 1.12. But, how exactly do i do what you are describing, or do you know where i can read up on it?
  5. No, I want it to generate my block instead of Grass and Dirt
  6. I want to completely get rid of Grass and dirt and instead spawn only my block
  7. Does Nobody know? seriously?
  8. I found code that claims it can do this but it is for 1.7.10. So far i have this... I want to take the "fromBlock" and "fromBlock2" and have it instead generate my modded block. Does anyone know what to do? @SubscribeEvent(priority=EventPriority.HIGHEST, receiveCanceled=true) public void onEvent(PopulateChunkEvent.Pre event) { Chunk chunk = event.getWorld().getChunkFromChunkCoords(event.getChunkX(), event.getChunkZ()); Block fromBlock = Blocks.DIRT; MyModBlocks toBlock = MyModBlocks.MODDED_BLOCK; Block fromBlock2 = Blocks.GRASS; //I want to replace Dirt and grass blocks with my modded Block }
  9. I created a new block for Minecraft 1.11.2. How do i go about replacing vanilla blocks with my new block? for example, i want to replace Grass and dirt with my new block.
  10. Thank you everyone! with your help, I was able to figure out what to do.
  11. I added a new block to Minecraft and I was wondering if I could possibly give the player an effect while standing on said block. If it is possible, how would i go about setting it up?
×
×
  • Create New...

Important Information

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