public enum HeatBehaviourManager extends java.lang.Enum<HeatBehaviourManager>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
addHeatBehaviours(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction,
java.util.function.BiPredicate<net.minecraft.world.IWorld,net.minecraft.util.math.BlockPos> blockFilter,
IHeatExchangerLogic logic,
java.util.List<HeatBehaviour> list) |
<T extends HeatBehaviour> |
createBehaviour(net.minecraft.util.ResourceLocation id) |
static HeatBehaviourManager |
getInstance() |
void |
init() |
void |
registerBehaviour(net.minecraft.util.ResourceLocation id,
java.util.function.Supplier<? extends HeatBehaviour> behaviour) |
static HeatBehaviourManager |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HeatBehaviourManager[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeatBehaviourManager INSTANCE
public static HeatBehaviourManager[] values()
for (HeatBehaviourManager c : HeatBehaviourManager.values()) System.out.println(c);
public static HeatBehaviourManager valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static HeatBehaviourManager getInstance()
public void init()
public void registerBehaviour(net.minecraft.util.ResourceLocation id,
java.util.function.Supplier<? extends HeatBehaviour> behaviour)
public <T extends HeatBehaviour> T createBehaviour(net.minecraft.util.ResourceLocation id)
public int addHeatBehaviours(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction,
java.util.function.BiPredicate<net.minecraft.world.IWorld,net.minecraft.util.math.BlockPos> blockFilter,
IHeatExchangerLogic logic,
java.util.List<HeatBehaviour> list)