-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
InvocationTargetException on Windows (no mods)
Animefan8888 replied to jj10dman's topic in Support & Bug Reports
I've got no idea, maybe @diesieben07 could shine more light on this. -
He means a Map<Short, Float/Integer>
-
NBTTagCompound#getKeySet OR you could use an NBTTagList which may be easier.
-
Use an NBTTagCompound or an NBTTagList
-
No No, use the default NBT stuff, you can convert the BlockPos to a string and use that as the key for the health value, either by directly changing the xyz to some string and parsing it, or by converting it to a long via BlockPos#toLong and converting that to a string.
-
InvocationTargetException on Windows (no mods)
Animefan8888 replied to jj10dman's topic in Support & Bug Reports
Don't use the Windows installer, use the jar one. -
No, you could create a Map<BlockPos, Float/Integer> which will map a x,y,z to a health value.
-
Minecraft Crashes on Loading BlockSlab?
Animefan8888 replied to xPxrple's topic in Support & Bug Reports
Double Post -
Minecraft Crashes on Loading BlockSlab?
Animefan8888 replied to xPxrple's topic in Support & Bug Reports
Could you imagine supporting all of the versions of forge? Theres a lot of them, and thats a lot of changes. The minecraft forums would support it. -
MinecraftForge.ORE_GEN_BUS.register(target);
-
Subscribe to the OreGenEvent.GenerateMineable and set the result to deny. And create your own world generator to generate the ores and register it with GameRegistry.registerWorldGenerator
-
Is the model going to be animated? If not dont use a TESR use the normal model system, forge adds support for obj models.
-
Finding the item of the user in onLivingHurtEvent
Animefan8888 replied to Inforno's topic in Modder Support
Entity can be cast to EntityLivingBase or EntityPlayer, which has those methods. Also you should use an instanceof check. -
Finding the item of the user in onLivingHurtEvent
Animefan8888 replied to Inforno's topic in Modder Support
Returns an Entity, getHeldItemMainHand is a method in EntityLivingBase. -
Finding the item of the user in onLivingHurtEvent
Animefan8888 replied to Inforno's topic in Modder Support
Your comparison will still not be true. This would still work...that method still exists. -
[1.12.2] Using Minecraft's Tessellator and BufferBuilder
Animefan8888 replied to GooberGunter's topic in Modder Support
You put vertexes into it and that creates a face, which is assigned a texture via the points you specify as floats as a 0-1 scale by the bound texture. Which is bound from Minecraft.getMinecraft().getRenderManager().renderEngine.bindTexture(resource); Or an instance of RenderManager/TextureManager that you are provided. You call BufferBuilder.begin(VertextFormat) then bufferbuilder.pos().tex().normal().endVertex() for all of the vertexes you need. Then finally call tesselator.draw. If you need an instance of these, use Tesselator.getInstance() and then to get the BufferBuilder instance use Tesselator#getBuffer(). -
No, you cannot.
-
If you are dead set on this idea you will have to create a BlockPos to int Map kinda thing and save it to the world yourself.
-
Yes that is the appropriate way. Create a Gui class that extends the one the Players inventory uses. You dont need to make packets unless you wanna do something special. Minecraft already has packets for inventories.
-
[1.12.2] Using Minecraft's Tessellator and BufferBuilder
Animefan8888 replied to GooberGunter's topic in Modder Support
This doesnt support OBJ models. -
Those are all handled automatically with the vanilla stuff.
-
Can't create the item (java.lang.NoSuchMethodError)
Animefan8888 replied to xlysander12's topic in Modder Support
Its in the libs folder in the build folder -
Can't create the item (java.lang.NoSuchMethodError)
Animefan8888 replied to xlysander12's topic in Modder Support
I didn't see this message. Could you post a picture of your folder? -
Can't create the item (java.lang.NoSuchMethodError)
Animefan8888 replied to xlysander12's topic in Modder Support
Not on my screen ?