S-B99
Members-
Posts
10 -
Joined
-
Last visited
Converted
-
Gender
Female
-
URL
https://blue.bella.wtf
S-B99's Achievements
Tree Puncher (2/8)
0
Reputation
-
Bump
-
What would be the hook to do this then?
-
I'm sorry? I'm afraid I don't understand what you mean by that. I don't believe there is one "right way", it's simply a matter of choice
-
I'm using Mixins because it's way easier to interact with the game.
-
I have this which calls my beacon GUI, which just adds a bunch of buttons on the side. All those buttons do is change an int. @Inject(method = "displayGUIChest", at = @At("HEAD"), cancellable = true) public void onDisplayGUIChest(IInventory chestInventory, CallbackInfo ci) { if (ModuleManager.getModuleByName("BeaconSelector").isEnabled()) { if (chestInventory instanceof IInteractionObject) { if ("minecraft:beacon".equals(((IInteractionObject)chestInventory).getGuiID())) { Minecraft.getMinecraft().displayGuiScreen(new BeaconGui(this.inventory, chestInventory)); ci.cancel(); } } } } In the class it changes the int I have a listener changing some packet bytes.
-
I do not. That's what I'm hung up on getting currently. Telling the game to click from 1 position to the other moves the item and it works server side.
-
I found a payment field but I can't figure out how to access it.
-
for beacons? because I can move items to chest slots just fine
-
Try restarting the launcher. If that doesn't work, backup your .minecraft and try with a clean folder.
-
I made a client sided mod that can do stuff to the effects of beacons, now I'd like it to automatically insert a usable material (eg iron) into the beacon slot. Unfortunately, when you run a for loop checking for the item in the inventory, it doesn't find anything when the iron is inside the beacon slot. So is there a slot I can move items to in the beacon GUI? if (mc.player.inventory.getStackInSlot(i).getItem() == Items.IRON_INGOT)
-
S-B99 joined the community
-
You do realise the answer isn't no? ```java @Override public void onUpdate() { mc.rightClickDelayTimer = 0; } ``` this is a perfectly usable solution or you know, go to literally any google result called Fastplace when googling `rightClickDelayTimer` Edit: realised how old this is, oops