Everything posted by Tairoon
-
Vanilla Icon for modded Block, warning [SOLVED]
You are right, I misread a part in the TextureMap class, I thought that blockIcon's or itemIcon's got added to the sheet anyway, because of vanilla items. Thanks to both of you
-
Vanilla Icon for modded Block, warning [SOLVED]
Yeah I don't think that it's worth the trouble. Just thought there might be a simple fix. I used getIconFromDamage before. It works for the destroy particles, but gives you the warning.
-
Vanilla Icon for modded Block, warning [SOLVED]
With that the warning doesn't show up any more. The Icon still gets added to the Texture Map twice, but I guess that doesn't matter too much. Thanks.
-
Vanilla Icon for modded Block, warning [SOLVED]
I am using 1.6.4, the warning looks like this: [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_24205_null.png In 1.6.4 there is definitely code for a Texture map which stitches the textures together. In there i would be duplicated needlessly.
-
Vanilla Icon for modded Block, warning [SOLVED]
Hi, for one of my Blocks, which uses a TESR I want to return a Vanilla icon in the getIcon method, so that the destroy particles have the right color. This works, but every startup I get a warning, because I didn't register an Icon. I do not want to register the icon again, because then it would be duplicated in the texture sheet. Is there away to avoid that, without the warning?
-
TileEntity BlockBounds do not update
That sounds like it could work too. What I have found, is to use markBlockForUpdate() and in my TE getDescriptionPacket(), which returns a new Packet132TileEntityData. Which I give a NBTTag with my TE data. The rest is handled from vanilla.
-
TileEntity BlockBounds do not update
Hi, I have a block, with a tileentity, which should rotate when clicked with one of my items. For that I use, onItemUseFirst from my item. The problem is that if I return true on the client side, the bounds update, but the method isn't called server side, which means that I would have to send a packet, to stay synced. Is there a way to have both sides be called and to update the bounds? I tried these two methods, in the onItemUseFirst class world.markBlockForUpdate(x, y, z); world.setBlockMetadataWithNotify(x, y, z, meta, 3); The metadata doesn't change and shouldn't.
IPS spam blocked by CleanTalk.