Jonathan Browne
Jonathan Browne
This will also be added to `@Overwrite` in the future: https://github.com/SpongePowered/Mixin/issues/179#issuecomment-313033777
A fix has been added to mobiledoc-kit v0.14.1. This should be fixed whenever that gets pulled into Ghost.
For the `DataRegistration`, you need to put that in a `GameRegistry.Register` listener as well: ```java @Listener public void onDataRegister(GameRegistryEvent.Register
@Faithcaio ```java @Listener public void run(InteractBlockEvent e) { Chest chest = (Chest) e.getTargetBlock().getLocation().get().getTileEntity().filter(Chest.class::isInstance).orElse(null); if (chest == null) return; TileEntityInventory inv = chest.getInventory(); QueryOperation
Problem is, I don't think using `SlotIndex` with arbitrary values works properly with this. You could use `SlotPos` if you want to treat it as a 2D form, but if...
Actually, I think I found an alternative option that should work better. ```java OrderedInventory inventory = (OrderedInventory) chest.getInventory(); inventory.getSlot(SlotIndex.of(0)).set(ItemStack.of(ItemTypes.DIAMOND)); ``` If you want to use 2D coordinates, you can also...
Can reproduce on SF 4007, using the following listener (mostly copied from the Nucleus code linked above): ```java @Listener @Exclude({ChangeBlockEvent.Grow.class, ChangeBlockEvent.Decay.class}) public void onMobChangeBlock(ChangeBlockEvent event, @Root Living living) { if...
What I've found so far: 1. When a mob steps on the pressure plates (it may take some moving around for this to trigger), the pressure plate code first sets...
So is this a problem on the plugin side? I copied my test code pretty much straight from Nucleus.
1. Bans are only designed to be used for the server itself. However, it is possible to make a ban service using an external service that stores bans for more...