Jump to content

ImaFool

Members
  • Posts

    70
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

ImaFool's Achievements

Stone Miner

Stone Miner (3/8)

3

Reputation

  1. itemStack.setStackDisplayName(name); itemStack.setTagCompound(nbt); I gotta get to bed
  2. itemStack.setStackDisplayName("custom name"); System.out.println(itemStack.getDisplayName()); System.out.println(this.worldObj.isRemote); that's gonna print "custom name" and "false" in the console but its showing up the usual itemstack name in minecraft instead of "custom name" What am i doing wrong?
  3. Hey ho, no modding question, actually not even a java question In my TESR i have an animation i want to start fast and end slowly, depending on a linear value, so basically i need the cosinus sinus stuff.. and well I suck at math :'(, haaaaaaalp me
  4. Hello, I have a techne block for my TESR with some transparent pixels on the texture, so you can look inside it, kind of like that: ____________ | | | | | | | | |___________| But when you look inside the block, the textures are not visible anymore, so basically they are rendered on 1 side only Can i change it so they are still renderd?
  5. Is there a maximum size for packets? (if yes how big?)
  6. Ok i managed to play an .ogg file, Is there a way to play sound in another format like mp3?
  7. I have a block that should be able to play music from the hdd :3
  8. Hey ho, Is there a way to play a sound that only exists at runtime? E.g. world.playAuxSFX works with the sound.json file, can I get around that?
  9. Well thanks anyway, i try update forge or sth..
  10. { "parent": "builtin/generated", "textures": { "layer0": "test:items/test" }, "display": { "thirdperson": { "rotation": [ -90, 0, 0 ], "translation": [ 0, 1, -3 ], "scale": [ 0.55, 0.55, 0.55 ] }, "firstperson": { "rotation": [ 0, -135, 25 ], "translation": [ 0, 4, 2 ], "scale": [ 1.7, 1.7, 1.7 ] } } }
  11. public static Item item; @EventHandler public void preInit(FMLInitializationEvent event) { item = new CItem().setUnlocalizedName("test").setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerItem(item, "test"); } @EventHandler public void init(FMLInitializationEvent event) { if(event.getSide() == Side.CLIENT) Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation("test:test")); } still not working
×
×
  • Create New...

Important Information

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