Everything posted by Draco18s
-
[1.8.9]Detecting a GUI close of the ingame Gui
mc.isGamePaused() public Minecraft mc; #NeverAssigned
-
[1.9] Logic/Math Question
Step 1: Loop through all crucibles in range, build a HashMap of the total amounts of every SoulType available in range. Step 2: Check the recipe against this hashmap. If enough, recipe allowed, otherwise it isn't. Step 3: Create a hashmap for the SoulTypes being consumed by the recipe and loop through each crucible in range and deduct as many Soul amounts as possible (keeping track in this hashmap copy) until all souls consumed have been deducted from somewhere.
-
[1.8.9]Unsure how to fit bounding box and texture offsets to custom entity model
You need to do this in the Entity, not the Model.
-
[Solved] Planting crops on other blocks besides farmland (1.8.9)
I'm pretty sure the farmland-block needs to cooperate as well. Which the diamond block doesn't know anything about crops, so the calls made to allow planting fail.
-
[1.9] [SOLVED] Custom Entity Falling
setAccessible()
-
[1.9] Stone Crash
Show ModItems.registerItems();
-
[1.9] Getting the recipe of itemstacks that make up an item!
Not to mention smelting!
-
[1.9] Make child mods
What I meant was that you said that "A -> B" means that B relies on A (that is, A is the parent mod) and then went on to say that "generic|machinery -> generic." i.e. you incorrectly stated that generic|machinery and generic|world were the parent mod.
-
Possible to make a block that adds the wither affect upon entity collision?
I typed that and had the sneaking suspicion that I may have added too many zeros. The last time I futzed around with it (needing a full-cube block that was collidable from all sides) was in 1.6.4
-
Possible to make a block that adds the wither affect upon entity collision?
0.125 is a fairly substantial amount: 2 pixels! If you want something that looks like a full block you can have an offset amount of 0.0001 which IIRC is sufficient for collisions, but small enough that after being rendered you can't tell.
-
[1.7.10] Restricting redstone access to one side of a block
- [1.7.10]gui crashes when clicking on slots
Oh god, ew. This isn't that hard to math. (x + y * 9) * 4 + n where n is 0,1,2,3 depending on which of those four slots. Also. All of those slots are added to the same XY coordinates so they'd stack on top of each other and only the top 4 will be usable. It also appears that your TE only has 45 slots and you're creating 84 slots.- Possible to make a block that adds the wither affect upon entity collision?
Note that the block boundary must be smaller than 1x1x1 in the direction you wish for collisions to occur in.- [1.9] Make child mods
One of these three things is incorrect.- [1.7.10] Restricting redstone access to one side of a block
Unless you have a reason not to make them match, you should refactor to make them match, it simplifies a lot. And even if you don't there's still no reason to make a request to the TE: you can do your entire current check inside the block and only the block.- [1.7.10] Restricting redstone access to one side of a block
Question: Why does your canConnectRedstone method ask your TileEntity if it can, when all the TE does is ask for block metadata? Why not just check the block metadata? return side == metadata- [SOLVED][1.7.10] Gui only opens via Keybind if it is the held item
Some bit in or about there, yes.- Hovering text in GuiScreen?
That's because handleMouseInput shouldn't be drawing anything. You need to get the mouse's coordinates in drawScreen and if those coordinates are correct, draw the tooltip.- [SOLVED][1.7.10] Gui only opens via Keybind if it is the held item
Jesus mother fucking Christ in a hand basket to Hell this is a complicated network system. And on top of that, a complicated GUI setup. AFAICT your problem lies here somewhere: https://github.com/p455w0rd/WirelessCraftingTerminal/blob/master/src/java/net/p455w0rd/wirelesscraftingterminal/common/container/ContainerWirelessCraftingTerminal.java#L216-L230 But I can't tell because of the giant interconnected web of dependencies.- [1.9] Set the size of the slime to spawn
entityLocal.getEntityData(); is functionally identical to entityLocal.writeToNBT(tag); for this, but definitely cleaner. I forget that getEntityData() exists.- Why specify version and modid in both mcmod.info and @Mod annotation
Because places like Curse can't read your @Mod annotation, but they CAN read your mcmod.info file.- Register quartz pillar (EDIT: For structure)
Just fyi, that's not a recipe, that's a structure. Recipes use itemstacks. I don't know about structures.- Possible to make a block that adds the wither affect upon entity collision?
Define "access." If you want to look at it, like Lex said, then open up the Forge-src jar in the project hierarchy and browse down to net -> minecraft -> blocks -> BlockSoulSand.java- [Special][1.8.9]Fix the MDK!!! Please!!!
Inside the gradle file. Just pick a spot that isn't inside some other block. Done. How do I know? Because one of those lines says "task" and there's already at least one "task" block in the gradle file already.- [SOLVED][1.7.10] Gui only opens via Keybind if it is the held item
I can't find where you actually handle the packet. You send the PacketOpenWirelessTerm to the server and it gets picked up...where? - [1.7.10]gui crashes when clicking on slots
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.