Everything posted by Draco18s
-
[1.10.2] [Solved] Need help with .json uvlock
You can use submodels to combine two models. http://mcforge.readthedocs.io/en/latest/blockstates/forgeBlockstates/#sub-models
-
[1.10.2] How to get the side of a block relative to how it is placed?
EnumFacing rightSide = world.getBlockState(pos).getValue(FACING).rotate(Axis.UP); There you go.
-
any tips on stitching terrain?
This thread might offer some insight.
-
Custom TextureAtlasSprite renders like an ItemBlock instead of a regular Item.
You need to provide a model for your block that makes it use a 2D inventory model.
-
[UNSOLVED][1.10.2]Need help with TESR and tileentity item
To be fair, you knew exactly what segment of code to look for. I did this: 1) opened the class 2) scrolled down until I saw something called "isBurning" which happened to be a field wrapped in a getter function 3) I searched for this text 4) I found an if-statement checking the value via the getter that did something.
-
How To Convert a Singleplayer mod to Multiplayer
1) 1.7.10 is no longer supported by Forge 2) If you build things right, single player and multiplayer are identical. The problem you have is that you've assumed that the client and server are running on the same thread (bad, bad idea, even for Single Player) and thus don't differentiate between Client and Server worlds/entities. You need to discriminate using a Proxy and Packet Handlers.
-
My capability will not persist.
Because all you're doing on the respawn/clone event is telling the client about the old data. You're not actually transferring the data to the new capability.
-
[UNSOLVED][1.10.2]Need help with TESR and tileentity item
Really? Try line 274. It took me: 32 seconds to open eclipse 16 seconds to open the file 22 seconds to locate that line 35 seconds to make this reply. I want my minute and a half back.
-
[UNSOLVED][1.10.2]Need help with TESR and tileentity item
You could go read the TileEntityFurnace class...
-
Model definition not found
More of a "future reference" thing. Anyway. [03:21:49] [Client thread/ERROR] [FML]: Model definition for location odm:oak_wardrobe#normal not found You don't have a normal variant specified. E.g: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/blockstates/dummy_ore_zinc.json#L12
-
[1.11] SOLVED Fertilized Dirt HELP
If I did, I'd have said something, but I didn't, so no.
-
Model definition not found
- [1.11] SOLVED Fertilized Dirt HELP
setStepSound()- Model definition not found
Also, posting code as images is stupid. Use a [nobbc] [/nobbc] tag instead, or pastebin, or github.- [Solved] Fluid spread distance
Because the variable represents a discrete amount.- [UNSOLVED][1.10.2]Need help with TESR and tileentity item
- [UNSOLVED][1.10.2]Need help with TESR and tileentity item
No shit all your blocks do the same thing. You can't store information in the block class like this, much less as a static variable. You MUST encode it in the blockstate (metadata) or as the TileEntity information and reference it through such.- [UNSOLVED][1.10.2]Need help with TESR and tileentity item
Where are you checking for isBurning right now, and how?- [UNSOLVED][1.10.2]Need help with TESR and tileentity item
You need to ask the te if it is burning. If it is for the inventory, then it will always be false, no?- [1.10.2] [Solved] Need help with .json uvlock
I don't think you can. I think uvlock covers the whole model.- [1.11] [SOLVED] Help disabling xp orbs on dead from a minion.
You'll have to examine the EntityWolf class to see how it does it.- [1.11] [SOLVED] Help disabling xp orbs on dead from a minion.
EXP only drops if mobs are killed by the player.- [UNSOLVED][1.10.2]Need help with TESR and tileentity item
The class implements it. setCustomStateMapper registers it. But yes.- Java error on starting game by a block
You are correct. I was looking for something that wasn't there, but which didn't need to be either.- Putting (some) village information on a sign, and saving new tags
It's just TileEntity data. - [1.11] SOLVED Fertilized Dirt HELP
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.