Class GameTestHelpersIntegratedDynamics
java.lang.Object
org.cyclops.integrateddynamics.gametest.GameTestHelpersIntegratedDynamics
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertValueEqual
(IValue value1, IValue value2) static net.minecraft.world.item.ItemStack
createVariableForOperator
(net.minecraft.world.level.Level level, IOperator operator, int[] variableIds) static net.minecraft.world.item.ItemStack
createVariableForValue
(net.minecraft.world.level.Level level, IValueType valueType, IValue value) static net.minecraft.world.item.ItemStack
createVariableFromReader
(net.minecraft.world.level.Level level, IAspect aspect, IPartState partState) static net.minecraft.world.item.ItemStack
createVariableFromReader
(net.minecraft.world.level.Level level, PartPos partPos, IAspect aspect) static IVariableFacade
getVariableFacade
(net.minecraft.world.level.Level level, net.minecraft.world.item.ItemStack itemStack) static org.apache.commons.lang3.tuple.Pair
<PartTypePanelDisplay, PartTypePanelDisplay.State> placeVariableInDisplayPanel
(net.minecraft.world.level.Level level, PartPos partPos, net.minecraft.world.item.ItemStack variableAspect) static void
placeVariableInWriter
(net.minecraft.world.level.Level level, PartPos partPos, IAspectWrite<?, ?> aspect, net.minecraft.world.item.ItemStack variableAspect)
-
Constructor Details
-
GameTestHelpersIntegratedDynamics
public GameTestHelpersIntegratedDynamics()
-
-
Method Details
-
assertValueEqual
-
createVariableForValue
public static net.minecraft.world.item.ItemStack createVariableForValue(net.minecraft.world.level.Level level, IValueType valueType, IValue value) -
createVariableForOperator
public static net.minecraft.world.item.ItemStack createVariableForOperator(net.minecraft.world.level.Level level, IOperator operator, int[] variableIds) -
getVariableFacade
public static IVariableFacade getVariableFacade(net.minecraft.world.level.Level level, net.minecraft.world.item.ItemStack itemStack) -
createVariableFromReader
-
createVariableFromReader
public static net.minecraft.world.item.ItemStack createVariableFromReader(net.minecraft.world.level.Level level, IAspect aspect, IPartState partState) -
placeVariableInWriter
public static void placeVariableInWriter(net.minecraft.world.level.Level level, PartPos partPos, IAspectWrite<?, ?> aspect, net.minecraft.world.item.ItemStack variableAspect) -
placeVariableInDisplayPanel
public static org.apache.commons.lang3.tuple.Pair<PartTypePanelDisplay,PartTypePanelDisplay.State> placeVariableInDisplayPanel(net.minecraft.world.level.Level level, PartPos partPos, net.minecraft.world.item.ItemStack variableAspect)
-