Everything posted by Animefan8888
-
Unable to set property PropertyDirection
Add "inventory": {"model": "modid:modelName"} to your blockstate file.
-
Does anyone know a tutorial for a custom door?
Not for 1.10, and i doubt it for 1.9. Best thing I know of would be to look at vanilla's.
-
how to ask for stone variant? [solved]
You should just use metadata. Metadata is the only way to persist BlockStates anyway. If blockstate1 and blockstate2 have the same metadata of 0, then it will default to the blockstate set to 0(if not setup correctly the defasult blockstate).
-
[Solved but weird] TileEntity Client and Server doing unsynchronized stuff
Are you sure it is fuel/last fuel and not the other way around?
-
[Solved but weird] TileEntity Client and Server doing unsynchronized stuff
Well if it only updates server side then we send the data to the client...The client has the same data. Well could you explain the problem.
-
[Solved but weird] TileEntity Client and Server doing unsynchronized stuff
I'm not sure if I understand the current problem, but is it that the current fuel can be greater than lastFuel? If so the problem is If not please explain it to me.
-
[Solved but weird] TileEntity Client and Server doing unsynchronized stuff
Could you post your entire TileEntity class it might not be functioning as intended.
-
[Solved but weird] TileEntity Client and Server doing unsynchronized stuff
Well you definitely could, but using the in place system is easier. And I assume it would be more internet intensive. Give me a minute to look at the code...
-
[Solved but weird] TileEntity Client and Server doing unsynchronized stuff
Always post all of the code even if you think it unnecessary. Was that all of the code in your container?
-
Custom shears not working 1.10.2
coppperShears = registerItem(new copperShears(...));
-
[Solved but weird] TileEntity Client and Server doing unsynchronized stuff
I believe it sends all of the properties aka the fields from server to client. Did you return 2 on getFieldCount?
-
Question regarding the VertexBuffer and the old Tesselator
I believe it is getWorldByID now.
-
Unable to set property PropertyDirection
Github would be better.
-
Unable to set property PropertyDirection
It says you do not have a blockstate named atomExtractor.json and why are you hardcoding the model name when you create a new ModelResourceLocation just do block.getRegistryName()
-
Unable to set property PropertyDirection
Post your code for ModelLoader.setCustomModelResourceLocation and the console log.
-
Unable to set property PropertyDirection
You can get the Item version of a block from Item.getItemFromBlock(block), the metadata is most of the time 0. model is a new ModelResourceLocation. But you should be able to look at that in eclipse by holding controll and clicking on setCustomModelResourceLocation
-
Unable to set property PropertyDirection
It is a replacement ItemModelMesher had some problems so forge created a better one. Are the parameters not obvious enough? Item is the Item the resource location goes to, and the metadata is the metadata of the item. What do you mean model?
-
Unable to set property PropertyDirection
It has to be called in preInit, it takes in three parameters the Item, the metadata of the item and a ModelResourceLocation. This works for blocks as well. a ModelResourceLocation takes in Strings one is the name of the JSON and the other is optional usually it is "inventory". You do not need to add your modid here.
-
Unable to set property PropertyDirection
I don't think there are any forge provided ones what questions do you have?
-
Unable to set property PropertyDirection
You should be using ModelLoader.setCustomModelResourceLocation instead of getItemModelMesher(), and then put it in preInit.
-
Unable to set property PropertyDirection
Post updated ClientProxy.
-
Unable to set property PropertyDirection
Did you override getMetaFromState()
-
Unable to set property PropertyDirection
Item/Block Rendering code should be in your preInit method. You should also be using ModelLoader.setCustomModelResourcelocation() if you are not already.
-
Unable to set property PropertyDirection
Could you post your MainMod file and proxies.
-
Helper APIs
Any specific function you are looking for, if so please post it, and if it is an inventory API Minecraft more or less already has one built in. In stuff like ISidedInventory and IInventory. Those interfaces include methods like isItemValidforSlot() or canExtract().
IPS spam blocked by CleanTalk.