Everything posted by Animefan8888
-
[SOLVED][1.10.2]Tile Entity renders as invisible cube with name tag
In your TESR you need to translate to the x, y, z parameters.
-
[SOLVED][1.10.2]Tile Entity renders as invisible cube with name tag
Show your TESR and where you bind it.
-
[SOLVED] [1.10.2] Custom player inventory doesn't display GUI
You are extending the Gui class for the players inventory and then in the draw method you call the super. As for Capability advice you need to create a new Capability (of course) and then you need to add it to the player using AttachCapabilityEvent, all of this you know. In your Capability you will store an IItemHandler instance for storing your ItemStacks.
-
[SOLVED][1.10.2]Tile Entity renders as invisible cube with name tag
Something you need to do is bind it to your TileEntity. ClientRegistry.bindTileEntitySpecialRenderer(tileEntityClass, TileEntitySpecialRenderer)
-
[1.11] What does the ITileEntityProvider do?
It is the left over of the TileEntity api when metadata was how you determined different states.
-
[1.11.2] 4x4 crafting table
Read the first line of my signature.
-
[1.10.2] How to handle multiple player capabilities
Think of it this way. You have two drawers filled with information and they have nothing to do with each other except that they are for about the same person. Do you put the two drawers into one and make it less organized and take longer to find what you need, or do you keep them separate and easier to find what you need? Also if you keep them separate then there is less data to get when you call the getCapability method.
-
[SOLVED][1.10.2]Tile Entity renders as invisible cube with name tag
This line right here public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.ENTITYBLOCK_ANIMATED; } This tells the game that it doesn't have a model file, but is instead rendered using a TESR and I think the animation system? While this line will make it render based on a model file, and if you don't override the method it is already this. public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } Also instead of implementing ITileEntityProvider, just override the methods createTileEnty(World world, IBlockState state) and hasTileEntity(IBlockState state)
-
help with crash i cant figure out
Minecraft 1.7 10 in not supported here.
-
Ore not Generating
Well basically we have two sides, client and server. The server handles basically everything, while the client only handles what needs to be handled on the client: keyboard and mouse input to GUIs. Have you generated a new world? Or chunks?
-
Ore not Generating
You need to register the world generator in your main class.
-
[1.10.2] Change the texture of a custom entity and make it working on a server ?
You will need to create a packet that sends this to the client(s).
-
[1.11] Protecting blocks in a region.
Use the hasTileEntity that has the IBlockState parameter.
-
[Solved] Item break handler
I think the PlayerDestroyItemEvent.
-
[1.11] TE Overlay does not update until relog.
Post your PacketServerToClient please.
-
[1.8.9] Ocean Biome generation weird after compiled
No the vanilla ocean, but the word ocean.
-
[1.8] Grabbing stats from scoreboard
Look for a Scoreboard object then access it and get the data. If you can't find a scoreboard object look for the gui for it.
-
[1.8.9] Ocean Biome generation weird after compiled
Try using your IDE's search feature to search for Ocean, because it seems like you might of missed where you put the name.
-
Registering objects during runtime?
There is one huge problem with this that I have. The blocks maybe started at the server, then a packet gets sent to the client and adds a block, ok ok. No problems yet. What if the block is supposed to have a custom function, that is where it gets iffy. How would you send the extra information? This is in case of your custom "mods".
-
[1.11] TE Overlay does not update until relog.
Show your overlay.
-
[1.11.2] Custom TNT block not rendering when placed (solved)
You didn't do that right. You do not put your variants in your normal tag.
-
need help w/ json
In your BlockState file under "variants" put "inventory": { Then point to your model to your Item model or do nothing in case of metadata} An item model for blocks typically just has the "parent" of the block model.
-
need help w/ json
More of an explanation of the problem itself would help. And you don't have an inventory variant in your BlockState file. As well as an Item model.
-
[1.10.2] Explosion event not fired
Your class is the same name as the Event.
-
[1.11] Changing Brightness Level Based On Dimension
Look in Minecraft.getMinecraft().gameSettings
IPS spam blocked by CleanTalk.