Package net.minecraftforge.common
Class ForgeMod
java.lang.Object
net.minecraftforge.common.ForgeMod
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RegistryObject<Attribute>
Attack Range represents the distance at which a player may attack an entity.private static final DeferredRegister<Attribute>
private static boolean
static final RegistryObject<Attribute>
static final RegistryObject<Fluid>
private static final org.apache.logging.log4j.Marker
private static ForgeMod
private static final org.apache.logging.log4j.Logger
static final RegistryObject<Fluid>
static final RegistryObject<Attribute>
static final RegistryObject<Attribute>
Reach Distance represents the distance at which a player may interact with the world.static final RegistryObject<Attribute>
Step Height Addition modifies the amount of blocks an entity may walk up without jumping.static final RegistryObject<Attribute>
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Run this method during mod constructor to enable milk and add it to the Minecraft milk bucketvoid
gatherData
(GatherDataEvent event) static ForgeMod
void
loadComplete
(FMLLoadCompleteEvent event) void
void
void
private void
void
void
void
void
void
-
Field Details
-
VERSION_CHECK_CAT
- See Also:
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
FORGEMOD
private static final org.apache.logging.log4j.Marker FORGEMOD -
ATTRIBUTES
-
SWIM_SPEED
-
NAMETAG_DISTANCE
-
ENTITY_GRAVITY
-
REACH_DISTANCE
Reach Distance represents the distance at which a player may interact with the world. The default is 4.5 blocks. Players in creative mode have an additional 0.5 blocks of reach distance. -
ATTACK_RANGE
Attack Range represents the distance at which a player may attack an entity. The default is 3 blocks. Players in creative mode have an additional 3 blocks of attack reach. -
STEP_HEIGHT_ADDITION
Step Height Addition modifies the amount of blocks an entity may walk up without jumping.- See Also:
-
enableMilkFluid
private static boolean enableMilkFluid -
MILK
-
FLOWING_MILK
-
INSTANCE
-
-
Constructor Details
-
ForgeMod
public ForgeMod()
-
-
Method Details
-
getInstance
-
enableMilkFluid
public static void enableMilkFluid()Run this method during mod constructor to enable milk and add it to the Minecraft milk bucket -
registerCapabilities
-
preInit
-
registerArgumentTypes
private void registerArgumentTypes() -
loadComplete
-
serverStopping
-
mappingChanged
-
gatherData
-
missingSoundMapping
-
registerFluids
-
registerRecipeSerialziers
-
registerLootData
-