Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Spyeedy

Forge Modder
  • Joined

  • Last visited

Everything posted by Spyeedy

  1. My rotation point was set incorrectly due to the cuffs being the child of the legs and etc.
  2. You need a class that extends Container, another class that extends Slot, a CraftingManager class (do not extend CraftingManager), a 4th class which extends GuiContainer, a GuiHandler which extends IGuiHandler and 2 final class which extends IRecipe, one for ShapedRecipe and the other for ShapelessRecipe. You will also need a class to handle your recipes. If you are going for the 3 by 3 like the vanilla's crafting table, you can copy the vanilla's classes, SlotCrafting, GuiCrafting, ContainerWorkbench, CraftingManager, ShapedRecipes and ShapelessRecipes. You can find these classes in the following folders, minecraft/item/crafting, minecraft/inventory and minecraft/client/gui/inventory To call for the Gui when the block is activated, @Override public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumFacing side, float x, float y, float z) { if (!world.isRemote && !player.isSneaking()) { player.openGui(Main.instance, 0, world, pos.getX(), pos.getY(), pos.getZ()); return true; } return false; } Remember to register the GuiHandler in the init method of your main class. To register, NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler()); To you can create an instance of your main class with this @Instance(Reference.MOD_ID) public static Main instance;
  3. My custom mob's model is rendering incorrectly. Model code of my Github. Rendering in Techne: Rendering in Minecraft: NOTE:My texture image size is 64 by 64
  4. I'm calling that method from init ClientProxy Edit #1: Tried calling method from preInit ClientProxy and it worked. Thanks.
  5. It appeared that there was something wrong in my rendering code. I attempted to use the RenderingRegistry#registerEntityRenderingHandler's IRenderFactory method instead of the Render extends Entity method. Here's my IRenderFactory "way", RenderingRegistry.registerEntityRenderingHandler(EntityJayGarrick.class, new IRenderFactory<EntityJayGarrick>() { @Override public Render<? super EntityJayGarrick> createRenderFor(RenderManager manager) { return new RenderJayGarrick(manager); } });
  6. There is a villager being spawned. As a matter of fact, the different textures of the villagers is shown each time I enter the /summon command and use the spawn egg.
  7. Edited post 5, and I'm using the /summon command like this, "/summon hpm.jay_garrick". "hpm" is my mod id while "jay_garrick" is the name I gave when I registered my entity.
  8. Update: I changed where my entity is being registered, from preInit to init in my main class and edited my entity mob class. When I entered the /summon command and clicked the spawn egg, it's spawned! But the entity that is being spawned is that of a villager and not my custom mob
  9. I'm on forge 1.8.9-11.15.1.1722
  10. Forgot to mention that when I did the /summon command, "unable to summon object" is printed in the chat
  11. My custom mob is not spawning. I've tried using it's spawn egg but nothing is being spawned. I've also tried using the /summon code, to no avail. Any help is appreciated . Github for my code.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.