Package io.github.realguyman.totally_lit
Class TotallyLit
java.lang.Object
io.github.realguyman.totally_lit.TotallyLit
- All Implemented Interfaces:
net.fabricmc.api.ModInitializer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.github.benmanes.caffeine.cache.Cache<net.minecraft.core.BlockPos, Boolean> static final io.github.realguyman.totally_lit.TotallyLitConfigstatic final Map<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.Block> static final Map<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.Block> static final org.slf4j.Loggerstatic final intstatic final Stringstatic final Map<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.Block> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisCaretakerPresent(net.minecraft.core.BlockPos pos, net.minecraft.server.level.ServerLevel world) void
-
Field Details
-
MOD_ID
- See Also:
-
CONFIG
public static final io.github.realguyman.totally_lit.TotallyLitConfig CONFIG -
LOGGER
public static final org.slf4j.Logger LOGGER -
MAX_TICKS_TO_BURN_FOR
public static final int MAX_TICKS_TO_BURN_FOR- See Also:
-
JACK_O_LANTERN_MAP
public static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> JACK_O_LANTERN_MAP -
LANTERN_MAP
public static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> LANTERN_MAP -
TORCH_MAP
public static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> TORCH_MAP -
CACHED_CARETAKER_BLOCKS
public static final com.github.benmanes.caffeine.cache.Cache<net.minecraft.core.BlockPos,Boolean> CACHED_CARETAKER_BLOCKS
-
-
Constructor Details
-
TotallyLit
public TotallyLit()
-
-
Method Details
-
isCaretakerPresent
public static boolean isCaretakerPresent(net.minecraft.core.BlockPos pos, net.minecraft.server.level.ServerLevel world) -
onInitialize
public void onInitialize()- Specified by:
onInitializein interfacenet.fabricmc.api.ModInitializer
-