Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/25/18 in Posts

  1. readFromNBT contains all the basic stuff of an Entity: Position, motion, fall distance, if its on fire, prev tick rotation etc.. readEntityFromNBT is for classes which extend the Entity class to add their own new variables. So eg. the EntityTNT contains the fuse timer in there. readEntityFromNBT is abstract in the Entity class and gets called by readFromNBT.
    1 point
  2. It sounds like each time you're returning a new ItemStack which is what usually causes the hotbar tooltip to appear. Try returning the same item stack you started with. Edit: I've found a solution. You can disable held item tooltips on the fly with: Minecraft.getMinecraft().gameSettings.heldItemTooltips = false; And then just set it to true after you perform your updates.
    1 point
  3. The slime is likely changing rendering flags and your code doesn't correctly account for it. Namely, slimes are transparent.
    1 point
  4. Reddit i think is now PSAd if you wouldnt mind upvoting https://www.reddit.com/r/feedthebeast/comments/9a2tbn/public_service_announcemt_it_has_been_discovered/
    1 point
  5. Name the lang file en_US.lang or put a mcmeta file for a resource pack that specifies the correct version. Did you register the model in the ModelRegistryEvent using ModelLoader.setCustomModelResourceLocation
    1 point
  6. This registers your class to the bus, and the bus can only invoke static methods on it, but your @SubscribeEvent methods are not static.
    1 point
  7. Which tutorial did you use? Because from what I can see, your ModBlocks class is not registered to the event bus. I do not know if it is different with the registry stuff, but usually you register the class with your events by using MinecraftForge.EVENT_BUS.register(new_instance_of_your_class); Try add that to the preInit of your mod. In this case the instance would be a new ModBlocks instance.
    1 point
  8. Jaysus christ what on earth is this? Are you jar modding?
    0 points
×
×
  • Create New...

Important Information

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