Jump to content

LaureeGrd

Members
  • Posts

    29
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    >.<

LaureeGrd's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi, sorry if the title is not very descriptive. I don't know how to describe what's happening to me. Today I wanted to continue with my very basic mod, the Pen Pineapple Apple Pen mod. This is just a project to learn how to make better mods actually. The thing is, it has an incompatibility problem with Extra Utilities 2. So I wanted to fix that and in order to replicate the issue, I dropped the Extrautils jar inside the mods folder of my workspace, but it crashes with the following error: I really don't know why it wouldn't be able to create that class (and this same .jar works outside of the development environment). Project is running Java 8 (update 72 if that's a problem). I could update it if needed. Thanks.
  2. Yeah sorry I thought you were talking about the one I was trying to use on getArmorModel The "head" part in "display" is making what I wanted, that's what I wanted to say with "forget it" n.n Thanks for your help!
  3. I'm trying to use a ModelBiped right now. I mean in third person when equipped sorry for forgetting to tell you that. Now I'm thinking: Is there a "display" element for thirdperson_equipped in the item.json? Oh forget it, there's a "head" element for "display" inside item.json Like this: "display": { "gui": { "rotation": [ 30, 225, 0 ], "translation": [ 0, 3, 0 ], "scale": [ 1, 1, 1 ] }, "fixed": { "rotation": [ 0, 180, 0 ], "translation": [ 0, 4, 0], "scale":[ 1, 1, 1 ] }, "ground": { "rotation": [ 0, 0, 0 ], "translation": [ 0, 3, 0 ], "scale": [ 0.5, 0.5, 0.5 ] }, "thirdperson_righthand": { "rotation": [ 45, 45, 0 ], "translation": [ 0, 3, 0 ], "scale": [ 0.5, 0.5, 0.5 ] }, "head": { "translation": [ 0, 8, 3.5 ], "scale": [ 1.5, 1.5, 1.5 ] } }
  4. I'm trying to use a ModelBiped right now. I mean in third person when equipped sorry for forgetting to tell you that. Now I'm thinking: Is there a "display" element for thirdperson_equipped in the item.json?
  5. One last thing. I made that and it worked but the item is rendered too small. I thought that overriding getArmorModel would change that but the method is never called. What should I use?
  6. Hi, I'm trying to make an Item that can be equipped the same way as a pumpkin or a skull. I've been looking in the BlockPumpkin and ItemSkull code but there's nothing there Do someone know how to make it without extending ItemArmor? Thanks
  7. Thanks! I'll learn everything that I can
  8. Thanks! Very useful!
  9. Hi, I'm making a TileEntity, wich is a less-featured copy of the Minecraft Skull. When rendering (using a TileEntitySpecialRenderer) I get the rotation angle from a variable on the TileEntityClass, but it always returns 0. The thing is, it isn't 0. I checked using update from ITickable: private int skullRotation; public void update() { if (this.worldObj.isRemote) { System.out.println("CLIENT:" + skullRotation); } else { System.out.println("SERVER:" + skullRotation); } } And effectively, It's only 0 on the Client side. So I suppose I need to use Packets (I never used them before) to tell the client "Hey, this value has changed and is no longer 0", even when in the Minecraft TileEntitySkullRenderer it just uses TileEntitySkull.getSkullRotation(). If I need packet handling, can someone give me a link to an updated basic tutorial? Thanks.
  10. No, that's handled by the AI logic. The Entity tracking range is how close the client needs to be in order to be informed by the server about what it's doing. Yesss haha thanks. I don't know where did I get that idea I suppose because of the name "trackingRange". Thank all of you again.
  11. MY GOD. So that value changes when the client starts rendering the entity? I thought it was the AI tracking range of a mob. I'm so stupid. I'm going to research this tomorrow. Thanks!
  12. and it is looking in "src/main/resources/assets/modid/textures/models" not "src/main/resources/assets/minesat/textures/models" Oh no no no, sorry. I gave Minesat.MODID as the modid in the ResourceLocation object. I just wrote "modid" here to avoid confussion I'll edit it since now it is relevant!
  13. It's a normal 64x32 skin texture in: src/main/resources/assets/minesat/textures/models Anyway shouldn't it give a texture error in console if that were the problem?
  14. ClientProxy: @Override public void preInit(FMLPreInitializationEvent e) { class RenderEntityTest implements IRenderFactory<EntityTest> { @Override public Render<? super EntityTest> createRenderFor(RenderManager manager) { return new RenderTest(manager, new ModelBiped(1.0f), 0.5f); } } RenderingRegistry.registerEntityRenderingHandler(EntityTest.class, new RenderEntityTest()); } Main ModClass: @Mod(modid = Minesat.MODID, version = Minesat.VERSION, useMetadata = true) public class Minesat { public static final String MODID = "minesat"; public static final String VERSION = "0.1.0"; @Mod.Instance public static Minesat instance; @SidedProxy(clientSide = "com.laureegrd.minesat.proxy.ClientProxy", serverSide = "com.laureegrd.minesat.proxy.CommonProxy") public static CommonProxy proxy; @EventHandler public void preInit(FMLPreInitializationEvent e) { EntityRegistry.registerModEntity(EntityTest.class, "test", 1, Minesat.instance, 0, 3, true); proxy.preInit(e); } }
×
×
  • Create New...

Important Information

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