Uses of Class
alexiil.mc.lib.attributes.Simulation
-
Uses of Simulation in alexiil.mc.lib.attributes
Methods in alexiil.mc.lib.attributes that return Simulation Modifier and Type Method Description static Simulation
Simulation. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Simulation[]
Simulation. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of Simulation in alexiil.mc.lib.attributes.fluid
Methods in alexiil.mc.lib.attributes.fluid with parameters of type Simulation Modifier and Type Method Description default FluidVolume
FluidExtractable. attemptAnyExtraction(int maxAmount, Simulation simulation)
Deprecated.default FluidVolume
FluidExtractable. attemptAnyExtraction(FluidAmount maxAmount, Simulation simulation)
default FluidVolume
FluidExtractable. attemptExtraction(FluidFilter filter, int maxAmount, Simulation simulation)
Deprecated.default FluidVolume
FluidExtractable. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
SingleFluidTank. attemptExtraction(FluidFilter filter, int maxAmount, Simulation simulation)
Deprecated.FluidVolume
SingleFluidTank. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
FluidInsertable. attemptInsertion(FluidVolume fluid, Simulation simulation)
Inserts the given stack into this insertable, and returns the excess.FluidVolume
SingleFluidTank. attemptInsertion(FluidVolume fluid, Simulation simulation)
default FluidVolume
FixedFluidInv. extractFluid(int tank, FluidFilter filter, FluidVolume mergeWith, FluidAmount maxAmount, Simulation simulation)
Attempts to extract part of the fluid volume that is held in the given tank.static FluidVolume
FluidVolumeUtil. extractSingle(FixedFluidInv inv, int tank, FluidFilter filter, FluidVolume toAddWith, int maxAmount, Simulation simulation)
static FluidVolume
FluidVolumeUtil. extractSingle(FixedFluidInv inv, int tank, FluidFilter filter, FluidVolume toAddWith, FluidAmount maxAmount, Simulation simulation)
Deprecated.FluidVolume
FluidContainerRegistry.FluidFillFunction. insert(net.minecraft.item.ItemStack stack, FluidVolume fluid, Simulation simulation, FluidContainerRegistry.FluidFillHandler.StackReturnFunc stackReturn)
protected abstract FluidVolume
FluidContainerRegistry.FluidFillHandler. insert(net.minecraft.item.ItemStack stack, FluidVolume fluid, Simulation simulation, FluidContainerRegistry.FluidFillHandler.StackReturnFunc stackReturn)
default FluidVolume
FixedFluidInv. insertFluid(int tank, FluidVolume volume, Simulation simulation)
Attempts to insert the given fluid volume into the given tank, returning the excess.static FluidVolume
FluidVolumeUtil. insertSingle(FixedFluidInv inv, int tank, FluidVolume toInsert, Simulation simulation)
Deprecated.As this has been moved toFixedFluidInv.insertFluid(int, FluidVolume, Simulation)
static FluidVolume
FluidVolumeUtil. move(FluidExtractable from, FluidInsertable to, FluidAmount maximum, Simulation simulation)
Attempts to move up to the given amount of fluid from theFluidExtractable
to theFluidInsertable
.static FluidVolume
FluidVolumeUtil. move(FluidExtractable from, FluidInsertable to, FluidFilter filter, FluidAmount maximum, Simulation simulation)
Attempts to move up to the given maximum amount of fluids from theFluidExtractable
to theFluidInsertable
, provided they match the givenFluidFilter
.static FluidVolume
FluidVolumeUtil. move(FluidExtractable from, FluidInsertable to, FluidFilter filter, Simulation simulation)
Attempts to move up to the given maximum amount of fluids from theFluidExtractable
to theFluidInsertable
, provided they match the givenFluidFilter
.static FluidVolume
FluidVolumeUtil. move(FluidExtractable from, FluidInsertable to, Simulation simulation)
Attempts to move as much fluid as possible from theFluidExtractable
to theFluidInsertable
.default boolean
FluidInsertable. offer(FluidVolume fluid, Simulation simulation)
Deprecated.This is an override forLimitedConsumer
, for the full javadoc you probably want to callFluidInsertable.attemptInsertion(FluidVolume, Simulation)
directly.boolean
SingleFluidTank. set(FluidVolume to, Simulation simulation)
boolean
FixedFluidInv. setInvFluid(int tank, FluidVolume to, Simulation simulation)
Sets the fluid in the given tank to the given fluid. -
Uses of Simulation in alexiil.mc.lib.attributes.fluid.impl
Methods in alexiil.mc.lib.attributes.fluid.impl with parameters of type Simulation Modifier and Type Method Description FluidVolume
DelegatingGroupedFluidInv. attemptAnyExtraction(FluidAmount maxAmount, Simulation simulation)
FluidVolume
SimpleFixedFluidInv. attemptAnyExtraction(FluidAmount maxAmount, Simulation simulation)
FluidVolume
CombinedFluidExtractable. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
CombinedGroupedFluidInv. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
DelegatingGroupedFluidInv. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
EmptyFluidExtractable. attemptExtraction(FluidFilter filter, int maxAmount, Simulation simulation)
Deprecated.FluidVolume
EmptyFluidExtractable. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
EmptyFluidTransferable. attemptExtraction(FluidFilter filter, int maxAmount, Simulation simulation)
FluidVolume
EmptyGroupedFluidInv. attemptExtraction(FluidFilter filter, int maxAmount, Simulation simulation)
FluidVolume
FilteredFluidExtractable. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
FilteredFluidTransferable. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
GroupedFluidInvFixedWrapper. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
SimpleFixedFluidInv. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
SimpleFixedFluidInvExtractable. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
Deprecated.FluidVolume
SimpleLimitedGroupedFluidInv. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
CombinedFluidInsertable. attemptInsertion(FluidVolume stack, Simulation simulation)
FluidVolume
CombinedGroupedFluidInv. attemptInsertion(FluidVolume fluid, Simulation simulation)
FluidVolume
DelegatingGroupedFluidInv. attemptInsertion(FluidVolume fluid, Simulation simulation)
FluidVolume
EmptyFluidTransferable. attemptInsertion(FluidVolume fluid, Simulation simulation)
FluidVolume
EmptyGroupedFluidInv. attemptInsertion(FluidVolume fluid, Simulation simulation)
FluidVolume
FilteredFluidInsertable. attemptInsertion(FluidVolume fluid, Simulation simulation)
FluidVolume
FilteredFluidTransferable. attemptInsertion(FluidVolume fluid, Simulation simulation)
FluidVolume
GroupedFluidInvFixedWrapper. attemptInsertion(FluidVolume fluid, Simulation simulation)
FluidVolume
RejectingFluidInsertable. attemptInsertion(FluidVolume stack, Simulation simulation)
FluidVolume
SimpleFixedFluidInv. attemptInsertion(FluidVolume fluid, Simulation simulation)
FluidVolume
SimpleFixedFluidInvInsertable. attemptInsertion(FluidVolume fluid, Simulation simulation)
Deprecated.FluidVolume
SimpleLimitedGroupedFluidInv. attemptInsertion(FluidVolume fluid, Simulation simulation)
boolean
CombinedFixedFluidInv. setInvFluid(int tank, FluidVolume to, Simulation simulation)
boolean
DelegatingFixedFluidInv. setInvFluid(int tank, FluidVolume to, Simulation simulation)
boolean
EmptyFixedFluidInv. setInvFluid(int tank, FluidVolume to, Simulation simulation)
boolean
MappedFixedFluidInv. setInvFluid(int tank, FluidVolume to, Simulation simulation)
boolean
SimpleFixedFluidInv. setInvFluid(int tank, FluidVolume to, Simulation simulation)
boolean
SimpleLimitedFixedFluidInv. setInvFluid(int tank, FluidVolume to, Simulation simulation)
boolean
SubFixedFluidInv. setInvFluid(int tank, FluidVolume to, Simulation simulation)
-
Uses of Simulation in alexiil.mc.lib.attributes.fluid.item
Methods in alexiil.mc.lib.attributes.fluid.item with parameters of type Simulation Modifier and Type Method Description FluidVolume
ItemBasedSingleFluidInv. attemptExtraction(FluidFilter filter, FluidAmount maxAmount, Simulation simulation)
FluidVolume
ItemBasedSingleFluidInv. attemptInsertion(FluidVolume fluid, Simulation simulation)
-
Uses of Simulation in alexiil.mc.lib.attributes.fluid.volume
Methods in alexiil.mc.lib.attributes.fluid.volume with parameters of type Simulation Modifier and Type Method Description boolean
FluidVolume. merge(FluidVolume other, FluidAmount.FluidMergeRounding rounding, Simulation simulation)
boolean
FluidVolume. merge(FluidVolume other, Simulation simulation)
static boolean
FluidVolume. mergeInto(FluidVolume source, FluidVolume target, FluidAmount.FluidMergeRounding rounding, Simulation simulation)
Merges as much fluid as possible from the source into the target, leaving the result in the source. -
Uses of Simulation in alexiil.mc.lib.attributes.fluid.world
Methods in alexiil.mc.lib.attributes.fluid.world with parameters of type Simulation Modifier and Type Method Description static FluidVolume
FluidWorldUtil. drain(net.minecraft.world.WorldAccess world, net.minecraft.util.math.BlockPos pos, Simulation simulation)
Attempts to drain the given block of it's fluid.static FluidVolume
FluidWorldUtil. fill(net.minecraft.world.WorldAccess world, net.minecraft.util.math.BlockPos pos, FluidVolume volume, Simulation simulation)
Attempts to place the given fluid volume into the given block position.FluidVolume
IFluidVolumeDrainable. tryDrainFluid(net.minecraft.world.WorldAccess world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state, Simulation simulation)
-
Uses of Simulation in alexiil.mc.lib.attributes.item
Methods in alexiil.mc.lib.attributes.item with parameters of type Simulation Modifier and Type Method Description default net.minecraft.item.ItemStack
ItemExtractable. attemptAnyExtraction(int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
ItemExtractable. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
SingleItemSlot. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
ItemInsertable. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
Inserts the given stack into this insertable, and returns the excess.net.minecraft.item.ItemStack
SingleItemSlot. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
static net.minecraft.item.ItemStack
ItemInvUtil. extractSingle(FixedItemInv inv, int slot, ItemFilter filter, net.minecraft.item.ItemStack toAddWith, int maxAmount, Simulation simulation)
Deprecated.Because this has been moved toFixedItemInv.extractStack(int, ItemFilter, ItemStack, int, Simulation)
.default net.minecraft.item.ItemStack
FixedItemInv. extractStack(int slot, ItemFilter filter, net.minecraft.item.ItemStack mergeWith, int maxCount, Simulation simulation)
Attempts to extract part of the stack that is held in the given slot.static net.minecraft.item.ItemStack
ItemInvUtil. insertSingle(FixedItemInv inv, int slot, net.minecraft.item.ItemStack toInsert, Simulation simulation)
Deprecated.Because this has been moved toFixedItemInv.insertStack(int, ItemStack, Simulation)
.default net.minecraft.item.ItemStack
FixedItemInv. insertStack(int slot, net.minecraft.item.ItemStack stack, Simulation simulation)
Attempts to insert the given stack into the given slot, returning the excess.static int
ItemInvUtil. move(ItemExtractable from, ItemInsertable to, ItemFilter filter, int maximum, Simulation simulation)
Attempts to move up to the given maximum number of items from theItemExtractable
to theItemInsertable
, provided they match the givenItemFilter
.default boolean
ItemInsertable. offer(net.minecraft.item.ItemStack stack, Simulation simulation)
Deprecated.This is an override forLimitedConsumer
, for the full javadoc you probably want to callItemInsertable.attemptInsertion(ItemStack, Simulation)
directly.boolean
SingleItemSlot. set(net.minecraft.item.ItemStack to, Simulation simulation)
Sets the stack in this slot to the given stack.boolean
FixedItemInv.ModifiableFixedItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
boolean
FixedItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
Sets the stack in the given slot to the given stack. -
Uses of Simulation in alexiil.mc.lib.attributes.item.compat
Methods in alexiil.mc.lib.attributes.item.compat with parameters of type Simulation Modifier and Type Method Description boolean
FixedInventoryVanillaWrapper. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
-
Uses of Simulation in alexiil.mc.lib.attributes.item.compat.mod.emi.iteminv
Methods in alexiil.mc.lib.attributes.item.compat.mod.emi.iteminv with parameters of type Simulation Modifier and Type Method Description boolean
FixedInvEmiItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
-
Uses of Simulation in alexiil.mc.lib.attributes.item.entity
Methods in alexiil.mc.lib.attributes.item.entity with parameters of type Simulation Modifier and Type Method Description net.minecraft.item.ItemStack
ItemExtractableProjectileEntity. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
ItemTransferableItemEntity. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
ItemTransferableItemEntity. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
-
Uses of Simulation in alexiil.mc.lib.attributes.item.impl
Methods in alexiil.mc.lib.attributes.item.impl with parameters of type Simulation Modifier and Type Method Description net.minecraft.item.ItemStack
DelegatingGroupedItemInv. attemptAnyExtraction(int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
EmptyGroupedItemInv. attemptAnyExtraction(int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
FilteredItemExtractable. attemptAnyExtraction(int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
FilteredItemTransferable. attemptAnyExtraction(int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
FullFixedItemInv. attemptAnyExtraction(int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
CombinedGroupedItemInv. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
CombinedItemExtractable. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
DelegatingGroupedItemInv. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
DirectFixedItemInv. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
EmptyGroupedItemInv. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
EmptyItemExtractable. attemptExtraction(ItemFilter filter, int maxCount, Simulation simulation)
net.minecraft.item.ItemStack
EmptyItemTransferable. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
FilteredItemExtractable. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
FilteredItemTransferable. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
FullFixedItemInv. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
GroupedItemInvFixedWrapper. attemptExtraction(ItemFilter filter, int maxCount, Simulation simulation)
net.minecraft.item.ItemStack
SimpleFixedItemInvExtractable. attemptExtraction(ItemFilter filter, int maxCount, Simulation simulation)
Deprecated.net.minecraft.item.ItemStack
SimpleGroupedItemInv. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
SimpleLimitedGroupedItemInv. attemptExtraction(ItemFilter filter, int maxAmount, Simulation simulation)
net.minecraft.item.ItemStack
CombinedGroupedItemInv. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
CombinedItemInsertable. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
DelegatingGroupedItemInv. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
DirectFixedItemInv. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
EmptyGroupedItemInv. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
EmptyItemTransferable. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
FilteredItemInsertable. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
FilteredItemTransferable. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
FullFixedItemInv. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
GroupedItemInvFixedWrapper. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
RejectingItemInsertable. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
SimpleFixedItemInvInsertable. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
Deprecated.net.minecraft.item.ItemStack
SimpleGroupedItemInv. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
SimpleLimitedGroupedItemInv. attemptInsertion(net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
DelegatingFixedItemInv. extractStack(int slot, ItemFilter filter, net.minecraft.item.ItemStack mergeWith, int maxCount, Simulation simulation)
net.minecraft.item.ItemStack
SimpleLimitedFixedItemInv. extractStack(int slot, ItemFilter filter, net.minecraft.item.ItemStack mergeWith, int maxCount, Simulation simulation)
net.minecraft.item.ItemStack
DelegatingFixedItemInv. insertStack(int slot, net.minecraft.item.ItemStack stack, Simulation simulation)
net.minecraft.item.ItemStack
SimpleLimitedFixedItemInv. insertStack(int slot, net.minecraft.item.ItemStack stack, Simulation simulation)
boolean
CombinedFixedItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
boolean
DelegatingFixedItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
boolean
DirectFixedItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
boolean
EmptyFixedItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
boolean
FullFixedItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
boolean
MappedFixedItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
boolean
SimpleLimitedFixedItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
boolean
SubFixedItemInv. setInvStack(int slot, net.minecraft.item.ItemStack to, Simulation simulation)
-
Uses of Simulation in alexiil.mc.lib.attributes.misc
Methods in alexiil.mc.lib.attributes.misc with parameters of type Simulation Modifier and Type Method Description boolean
LimitedConsumer. offer(T object, Simulation simulation)
default boolean
Reference. set(T value, Simulation simulation)
Delegates toReference.set(Object)
if the simulation isACTION
, otherwise it delegates toReference.isValid(Object)
.boolean
SimulatableRef. set(T value, Simulation simulation)
boolean
AbstractItemBasedAttribute. setStacks(Simulation simulation, net.minecraft.item.ItemStack oldStack, net.minecraft.item.ItemStack newStack)
Attempts to place the stacks in the reference and excess.