Everything posted by Draco18s
-
[1.9-1.11.2] Leaves won't decay
Show your code for your leaf block
-
[1.11.2] Adding multiple Collision Boxes
Your AABB variable names are garbage. You should name them something intelligent. Two, your "slab_top" bounding box has no height to it. It ranges from 0.5 to.... 0.5 Also, code tags are a Thing
-
[1.11.2] Adding multiple Collision Boxes
Start with overriding the method and look at how its used elsewhere.
-
Custom Elytra
Mind, when it goes under review, Lex or someone else might have some comment on how to improve it, or something. Or why it won't work, or.... Be prepared for that. And check to see if there's already a PR open for it.
-
Custom Elytra
Make a Forge pull request changing the == to an instanceof check.
-
Custom Elytra
This until Forge patches it.
-
[1.11.2] [SOLVED] TileEntity performance
Routing energy through a wirenetwork isn't pathfinding?
-
[1.10.2] Item Variant not working.
Please stop using getUnlocalizedName for things that aren't display. ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), "spelltype="+meta));
-
[Solved] [1.10.2] How to add an API?
"my project"\src\api
-
[Solved] [1.10.2] Custom ore generation spawning in columns
The hell? https://github.com/16ColorGames/SuperTechTweaks/blob/master/src/main/java/com/sixteencolorgames/supertechtweaks/world/WorldGeneratorBase.java#L132-L135 Why are you sing random.double() for an integer value? https://github.com/16ColorGames/SuperTechTweaks/blob/master/src/main/java/com/sixteencolorgames/supertechtweaks/world/WorldGeneratorBase.java#L136 Also, your base Y value is 0, then you add 0, then you add 0 again. Also you randomize X and Z in three different places: https://github.com/16ColorGames/SuperTechTweaks/blob/master/src/main/java/com/sixteencolorgames/supertechtweaks/world/WorldGeneratorBase.java#L136 https://github.com/16ColorGames/SuperTechTweaks/blob/master/src/main/java/com/sixteencolorgames/supertechtweaks/world/WorldGeneratorCluster.java#L36 https://github.com/16ColorGames/SuperTechTweaks/blob/master/src/main/java/com/sixteencolorgames/supertechtweaks/world/WorldGeneratorCluster.java#L36 (or line 42)
-
Item crafted does not persist, but when taken from creative it persists
Hardly.
-
[1.10.2] Potion effect on complete set of armor is worn
You need to create a new class for your armors, rather than using new Chestplate
-
[1.10.2] Potion effect on complete set of armor is worn
Sorry, I haven't been all here. You can do this with an event, too.
-
[1.10.2] Potion effect on complete set of armor is worn
public class MyForgeEventHandler { @SubscribeEvent public void pickupItem(EntityItemPickupEvent event) { System.out.println("Item picked up!"); } } ... MinecraftForge.EVENT_BUS.register(new MyForgeEventHandler());
-
[1.10.2] Potion effect on complete set of armor is worn
In an event handler class. http://mcforge.readthedocs.io/en/latest/events/intro/
-
Item crafted does not persist, but when taken from creative it persists
With the amount of code you posted it was impossible for anyone here to have spotted your error. All you posted was your crafting recipe line. That's it. It's an obvious error to literally everyone that you have to pass in the same object to the recipe as to the game registry because if you don't how is the game supposed to know they're the same object? You created two different objects. So yeah, you'll get undefined behavior when you try to do something that was never intended to be done.
-
[1.11] how to make player hold an item that is not in his inventory
Sooo you want to store an ItemStack on an Entity
-
[1.11]Prevent item to be moved out of the inventory
Let me put it this way: Everything is possible, but it might be very very complicated or hackish.
-
[1.11]Prevent item to be moved out of the inventory
I think you have to go up to the previous event to that one. The...PlayerInteractEvent Edit: Ah, no, you'd have to cancel the PlayerInteractEvent.EntityInteract
-
[1.11] how to make player hold an item that is not in his inventory
Capabilities.
-
[1.11.2] [SOLVED] TileEntity performance
https://www.google.com/search?q=A*&ie=utf-8&oe=utf-8
-
[1.11]Prevent item to be moved out of the inventory
Ways to remove an item from your inventory: Dying Click-and-move in a GUI Shift-click in a GUI Q Click-and drop in a GUI Item Frame (There is no event or any other notification to any system anywhere that this occurs! The item stack is literally cloned and inserted into the frame and the original deleted (if stack-size of 1, otherwise the stack size is decremented)).
-
[1.11.2] [SOLVED] TileEntity performance
A* is awesome.
-
[Forge 1.11.2] How to create a tile entity, container and gui that has 3x3 crafting and moving progress arrow?
You need to sync the progress to the client. There are a bunch of threads on this forum about that.
-
[1.11.2] Custom Enchantments on Custom Items
Is that Ring classified as a MainHand item?
IPS spam blocked by CleanTalk.