Everything posted by Draco18s
-
[1.12] Block isn't updating on the client, but only sometimes
No its not. Stairs work by having two collision volumes and the player's step-height. I suggest looking at Redstone Ore
-
[SOLVED][1.11.2] Making a Double Plant (2 Block High Flower)
{ "model": "asphodelplant_bottom" } Unable to load model asphodelplant_bottom in domain minecraft. You're missing your mod ID.
-
(Unsolved) 1.11.2 Forge/Eclipse Help!
Your client proxy class and your common proxy interface aren't...related to each other. If I did this: interface Cat { } class Banana { } It would be the same: you can't assign an object of type Banana to a field of type Cat
-
[SOLVED][1.11.2] Making a Double Plant (2 Block High Flower)
You can absolutely use the IProperties already defined in another class. In fact, it increases inter-mod compatibility! As any mod that looks at a block and wants to fiddle around with the HALF property only needs to know about the vanilla HALF property and it can fiddle with your plant the same way it fiddles with a vanilla plant.
-
(Unsolved) 1.11.2 Forge/Eclipse Help!
Fucking hell, I hate some of the tutorials out there. I also need your Reference class, and while you're at it, the common and client proxy classes.
-
(Unsolved) 1.11.2 Forge/Eclipse Help!
Show your main mod class.
-
[1.10.2] Extending reach distance
Minecraft.getMinecraft() is client side only. You can't use it on the server.
-
Custom Advancement Tab doesn't have a background.
Yes. The root one. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/resources/assets/expindustry/advancements/root.json#L12
-
[1.11] Help with modifying vanilla loot tables
You don't call the event, you subscribe to it. https://mcforge.readthedocs.io/en/latest/events/intro/
-
[1.12] [UNSOLVED] Save Data custom information
Why doubles? Why not integers or longs?
-
(SOLVED) How to send text message to a player?
Right click, open type hierarchy.
-
Get a list of every entity registered and know if it is a mob?
Literally the first reply in this thread.
-
How to create a client side command?
In the class itself.
-
[1.12.x/1.11.x] [SOLVED] hasCapability NPE
The casting is there for the compiler. Null is still null, but because null can "be" anything, you have to cast it to a type.
-
[1.12.x/1.11.x] [SOLVED] Block connections (Collision, JSON)
This is probably your main problem: Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of 'justanotherenergy:cable' from: 'justanotherenergy:blockstates/cable.json' in resourcepack: 'FMLFileResourcePack:JustAnotherEnergy' ... Caused by: com.google.gson.JsonParseException: transform: unknown default string: cable_side But you've also got this: Caused by: java.io.FileNotFoundException: justanotherenergy:models/item/plate_tin.json And this: Caused by: java.io.FileNotFoundException: justanotherenergy:models/item/cable.json
-
[1.10.2]get a problem with IBakedModel
Please don't embed the results as an HTML iframe, it shows up empty. There's a perfectly good "attach files" function that allows you to upload images.
-
[1.10.2]get a problem with IBakedModel
Caused by: java.io.FileNotFoundException: baubles:models/item/Ring.json Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of 'mcmultipart:multipart' from: 'mcmultipart:blockstates/multipart.json' in resourcepack: 'FMLFileResourcePack:MCMultiPart' Caused by: java.util.NoSuchElementException [22:07:25] [Client thread/ERROR]: The missing resources for domain minecraft are: [22:07:25] [Client thread/ERROR]: textures/#side.png [22:07:25] [Client thread/ERROR]: textures/#side_opaque.png [22:07:25] [Client thread/ERROR]: textures/#center_opaque.png [22:07:25] [Client thread/ERROR]: textures/#center.png java.lang.NullPointerException: Rendering item -- Item being rendered -- Details: Item Type: com.bxzmod.energyconversion.blocks.itemblock.PowerBlockItemBlock@1ede3958 Got a bit more than just a NPE (which might be caused by the bad model, depending on what JEI is doing). Also I don't know why one of your models is looking for textures that don't exist in the Minecraft domain.
-
[1.12.x/1.11.x] [SOLVED] hasCapability NPE
You're right, I assumed it was the tile's own hasCap function.
-
[1.12.X] ItemTool has no model / texture (purple and blocky)
You aren't telling the game about the model. You need to call ModelLoader.setCustomModelResourceLocation during the ModelRegistryEvent event. Also, stop using builtin/generated as your model's parent. item/generated and item/handheld both exist and means you don't need to supply display tags.
-
[1.12.x/1.11.x] [SOLVED] Block connections (Collision, JSON)
Post all of the errors. There's likely more than one.
-
[1.12.x/1.11.x] [SOLVED] Block connections (Collision, JSON)
https://english.stackexchange.com/questions/95624/use-of-or-inclusive-or-exclusive
-
[1.12.x/1.11.x] [SOLVED] hasCapability NPE
Uh... if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true; Let me dive into that... orientation.getOpposite() if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true; Let me dive into that... orientation.getOpposite() if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true; Let me dive into that... orientation.getOpposite() if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true; Let me dive into that... orientation.getOpposite() if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true; Let me dive into that... orientation.getOpposite() if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true;
-
[1.12.x/1.11.x] [SOLVED] hasCapability NPE
*Looks for code* *Fails to find code* *Hits "back" on browser*
-
[1.12.x/1.11.x] [SOLVED] Block connections (Collision, JSON)
What I said is perfectly grammatically correct. You haven't done [A or B] You haven't done either of [A or B] And if you'd done any research at all into what threw that error, you would have figured out what you needed to do on your own. public int getMetaFromState(IBlockState state) { if (state.getPropertyKeys().isEmpty()) { return 0; } else { throw new IllegalArgumentException("Don't know how to convert " + state + " back into data..."); } }
-
[1.12.x/1.11.x] [SOLVED] Block connections (Collision, JSON)
Do not implement ITileEntityProvider, it is not needed. hasTileEntity and createTileEntity are in the Block class, override those. You also haven't supplied a getMetaFromState or getStateFromMeta methods.
IPS spam blocked by CleanTalk.