Everything posted by Draco18s
-
[1.7.10]How to make your mod not work in singleplayer.
Just to clarify things: You are using a rational database (MySQL, etc) hosted independently of any server to store block information (for some purpose that is irrelevant here)?
-
custom block that prevents spawning of mobs in a certain perimeter
Fair warning: You're going to need to learn about concurrency.
-
[1.8.9] [Solved] Making a new chest class by extending TileEntityChest
Reading, dude, seriously, do it sometime.
-
[1.7.10] Model Box help
Congratulations on never being taken seriously ever.
-
[1.8] Render Item In Block
Ok, that's fine. Sometimes you find that it's an object you already have access to (e.g. if it had been of type WorldRenderer that would have been handy). The point is to see where you can get an instance, as you shouldn't need to create one. Where does RenderSnowball get its RenderManager from? Right-click -> References -> Entire Solution
-
[1.7.10] Model Box help
- [1.8] Render Item In Block
Well. What Type is renderManager ?- Placing a block, clearing inventory.
This does not set the inventory stack to null, it sets your local variable to null. ItemStack myStack = inventory.getStackInSlot(i); //whatever myStack = null;- [1.7.10] How to stop tile entity from reading nbt data on first place
Packets.- [1.7.10] [SOLVED] Wool clone (block with metadata) not using textures provided
It might not crash but the log will contain a message that it could not find a texture.- [1.8] Render Item In Block
Well, I know that startDrawingQuads(); changed to startDrawing(7); (IIRC. Also, the 7 is the integer value of.... GL11.GL_QUADS if I got that right). Now, look inside the WorldRenderer class and see if you can find the name for the other method yourself.- [1.8.9] no textures
[FML/]: Exception loading model um:item/unstable_ore with loader instance, skipping com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 5 column 6 Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 5 column 6 Your JSON is malformed.- [1.7.10] Generating textures during startup
Use multiple passes and several textures. That's how my artifacts mod does it. https://github.com/Draco18s/Artifacts/tree/master/main/java/com/draco18s/artifacts/- [1.7.10] [SOLVED] Wool clone (block with metadata) not using textures provided
Do you ever call setTextureName() ? Did you include the error log worth your post?- [1.7.10] Holographic Text
Look at name tags- Help, modified modpack makes old saves crash
Change the- [1.7.10] Add recipes for every item that extends a specific class
Weight on enchantments is how common it is. If there were only 3 enchants and they had weights: A: 1 B: 2 C: 4 Then the odds of getting B would be 28%, double that of A (14%) and half that of C (57%) For an available ID, there is not a function for that as far as I am aware. Mine are config-valued.- [SOLVED][1.8.9] Water Bridge Decay problem
https://howtoprogramwithjava.com/java-cast/- Help, modified modpack makes old saves crash
Dimension ID 7, huh. Did you recently add any mods to an existing world? The usual culprit is TwilightForest, which uses a config-value for its dim ID, but if its added to a save that already had Mystcraft and Mystcraft already registered dimID 7 (which would be the sixth age, IIRC) then it'll conflict. Also, XCW doesn't read his Minecraft Forum thread any more, you'd have been better off posting at http://xcompwiz.com/forum/index.php- [SOLVED][1.8.9] Water Bridge Decay problem
The problem is that he doesn't know how to use world.getBlockTileEntity() and cast it to his own object, then call a method on it.- Weak Reference
https://docs.oracle.com/javase/7/docs/api/java/lang/ref/WeakReference.html It's a generic.- Odd Ore Generation | 1.8
Correction: You debugged that area of the program and found no oddities. You have not debugged the calls to WorldGenFeature .generate()- [1.8.9][SOLVED] Extended Entity Properties
Sync should never be two way, it should only be server -> client- [SOLVED][1.8.9] Water Bridge Decay problem
See that "//ONLY PLACE BLOCK ONTOP OF WATER/IN AIR" chunk? Make it look for your own block too, and if it finds it, update the integer in the TE.- Losing inventory on world close
https://github.com/Draco18s/Artifacts/blob/master/main/java/com/draco18s/artifacts/entity/TileEntityDisplayPedestal.java#L205-L243 - [1.8] Render Item In Block
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.