JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Field Summary
Fields
static net.minecraftforge.network.simple.SimpleChannel
static final net.minecraft.resources.ResourceLocation
static final int
Method Summary
All Methods Static Methods Concrete Methods
static void
static void
sendToNear (net.minecraft.world.level.Level world,
net.minecraft.core.BlockPos pos,
int range,
Object message)
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
CONTRAPTION_INTERACT
public static final AllPackets CONTRAPTION_INTERACT
MINECART_COUPLING_CREATION
public static final AllPackets MINECART_COUPLING_CREATION
LINKED_CONTROLLER_BIND
public static final AllPackets LINKED_CONTROLLER_BIND
LINKED_CONTROLLER_USE_LECTERN
public static final AllPackets LINKED_CONTROLLER_USE_LECTERN
BLUEPRINT_COMPLETE_RECIPE
public static final AllPackets BLUEPRINT_COMPLETE_RECIPE
CONTRAPTION_DISASSEMBLE
public static final AllPackets CONTRAPTION_DISASSEMBLE
CONTRAPTION_SEAT_MAPPING
public static final AllPackets CONTRAPTION_SEAT_MAPPING
MINECART_CONTROLLER
public static final AllPackets MINECART_CONTROLLER
SYNC_POTATO_PROJECTILE_TYPES
public static final AllPackets SYNC_POTATO_PROJECTILE_TYPES
Field Details
CHANNEL_NAME
public static final net.minecraft.resources.ResourceLocation CHANNEL_NAME
NETWORK_VERSION
public static final int NETWORK_VERSION
See Also:
NETWORK_VERSION_STR
public static final String NETWORK_VERSION_STR
channel
public static net.minecraftforge.network.simple.SimpleChannel channel
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum class has no constant with the specified name
NullPointerException - if the argument is null
registerPackets
public static void registerPackets ()
sendToNear
public static void sendToNear (net.minecraft.world.level.Level world,
net.minecraft.core.BlockPos pos,
int range,
Object message)