Jump to content

ThatGuyDavid

Members
  • Posts

    8
  • Joined

  • Last visited

ThatGuyDavid's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I am trying to render an overlay, and Minecraft.getInstance.ingameGUI.blit() apparently is no longer a function. Does anyone know what the replacement for it is?
  2. I put the @Override method in my item class, but it did not work. I implemented it like this: package com.thatguydavid09.glasses.items; import com.thatguydavid09.glasses.Glasses; import net.minecraft.entity.monster.EndermanEntity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; public class SunglassItemBase extends Item { public SunglassItemBase() { super(new Item.Properties().group(Glasses.TAB)); } @Override public boolean isEnderMask(ItemStack stack, PlayerEntity player, EndermanEntity endermanEntity) { return true; } } and registered it like this: public static final RegistryObject<Item> SUNGLASS_LENS = ITEMS.register("sunglass_lens", SunglassItemBase::new); Did I do something wrong?
  3. I would like the ArmorItem to have the property of isEnderMask to be true, and I don't see how I can do that.
  4. After a lot of searching and trial and error, I would like to know if it is possible to create custom armor similar to using IArmorMaterial but using IForgeItem.The reason I want to do this is because IForgeItem has some fields that IArmorMaterial does not, and I would like to use those while maintaining the same fields that IArmorMaterial has. (IForgeItem#isEnderMask in particular) Any help would be appreciated.
  5. The title says it all. I would like to know how to make it so that when an item is on a player's head, endermen no longer get angry if the player looks at them. Any help would be greatly appreciated.
  6. I am having an issue when creating a new block in my mod. The blocks blockItem texture renders correctly, but the game does not texture the block. It displays in game with the default texture. I have double and triple checked all relating JSON files and the Java file that creates the block, but the game still does not render the texture correctly. Here is the log: https://pastebin.com/cuDWrckB, and here is my code: https://github.com/ThatGuyDavid09/glasses_mod/tree/master/glasses_mod. The items are registered in the util/RegistryHandler.java file. Any help would be immensely appreciated.
×
×
  • Create New...

Important Information

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