Class CreativeModeInventoryScreenSlotWrapperMixin
java.lang.Object
net.minecraft.world.inventory.Slot
de.luckymcdev.foundryengine.mixin.screen.CreativeModeInventoryScreenSlotWrapperMixin
- All Implemented Interfaces:
SlotCustomization
public abstract class CreativeModeInventoryScreenSlotWrapperMixin
extends net.minecraft.world.inventory.Slot
implements SlotCustomization
-
Field Summary
Fields inherited from class net.minecraft.world.inventory.Slot
container, index, x, y -
Constructor Summary
ConstructorsConstructorDescriptionCreativeModeInventoryScreenSlotWrapperMixin(net.minecraft.world.Container container, int slot, int x, int y) -
Method Summary
Modifier and TypeMethodDescriptionvoidCreativeModeInventoryScreen$SlotWrapper(net.minecraft.world.inventory.Slot target, int index, int x, int y, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) booleanList<net.minecraft.network.chat.Component> voidengine$setDisabledOverride(boolean disabled) voidengine$setSlotTooltipText(List<net.minecraft.network.chat.Component> newSlotTooltipTextList) Methods inherited from class net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, mayPickup, mayPlace, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setByPlayer, setChanged, tryRemoveMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SlotCustomization
engine$setX, engine$setY, getTooltip, isLocked, lock, setTooltip, unlock
-
Constructor Details
-
CreativeModeInventoryScreenSlotWrapperMixin
public CreativeModeInventoryScreenSlotWrapperMixin(net.minecraft.world.Container container, int slot, int x, int y)
-
-
Method Details
-
CreativeModeInventoryScreen$SlotWrapper
public void CreativeModeInventoryScreen$SlotWrapper(net.minecraft.world.inventory.Slot target, int index, int x, int y, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
engine$setDisabledOverride
public void engine$setDisabledOverride(boolean disabled) - Specified by:
engine$setDisabledOverridein interfaceSlotCustomization
-
engine$getDisabledOverride
public boolean engine$getDisabledOverride()- Specified by:
engine$getDisabledOverridein interfaceSlotCustomization
-
engine$setSlotTooltipText
public void engine$setSlotTooltipText(List<net.minecraft.network.chat.Component> newSlotTooltipTextList) - Specified by:
engine$setSlotTooltipTextin interfaceSlotCustomization
-
engine$getSlotTooltipText
- Specified by:
engine$getSlotTooltipTextin interfaceSlotCustomization
-