public class AllInteractionBehaviours
extends java.lang.Object
| Constructor and Description |
|---|
AllInteractionBehaviours() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addInteractionBehaviour(net.minecraft.block.Block block,
java.util.function.Supplier<MovingInteractionBehaviour> behaviour) |
static void |
addInteractionBehaviour(net.minecraft.util.ResourceLocation loc,
java.util.function.Supplier<MovingInteractionBehaviour> behaviour) |
static boolean |
contains(net.minecraft.block.Block block) |
static MovingInteractionBehaviour |
of(net.minecraft.block.Block block) |
static MovingInteractionBehaviour |
of(net.minecraft.util.ResourceLocation loc) |
public static void addInteractionBehaviour(net.minecraft.util.ResourceLocation loc,
java.util.function.Supplier<MovingInteractionBehaviour> behaviour)
public static void addInteractionBehaviour(net.minecraft.block.Block block,
java.util.function.Supplier<MovingInteractionBehaviour> behaviour)
@Nullable public static MovingInteractionBehaviour of(net.minecraft.util.ResourceLocation loc)
@Nullable public static MovingInteractionBehaviour of(net.minecraft.block.Block block)
public static boolean contains(net.minecraft.block.Block block)