Package com.hbm_m.config
Class FalloutConfigJSON.FalloutEntry
java.lang.Object
com.hbm_m.config.FalloutConfigJSON.FalloutEntry
- Enclosing class:
- FalloutConfigJSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionc(double chance) booleaneval(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, double dist) fo(double falloffStart) booleanisSolid()max(double max) mBS(net.minecraft.world.level.block.state.BlockState state) min(double min) mO(boolean opaque) mT(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> tag) prim(net.minecraft.world.level.block.state.BlockState state, int weight) prim(net.minecraft.world.level.block.state.BlockState a, int wa, net.minecraft.world.level.block.state.BlockState b, int wb) sec(net.minecraft.world.level.block.state.BlockState state, int weight) sol(boolean solid)
-
Constructor Details
-
FalloutEntry
public FalloutEntry()
-
-
Method Details
-
mBS
-
mT
public FalloutConfigJSON.FalloutEntry mT(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> tag) -
mO
-
prim
public FalloutConfigJSON.FalloutEntry prim(net.minecraft.world.level.block.state.BlockState state, int weight) -
prim
public FalloutConfigJSON.FalloutEntry prim(net.minecraft.world.level.block.state.BlockState a, int wa, net.minecraft.world.level.block.state.BlockState b, int wb) -
sec
public FalloutConfigJSON.FalloutEntry sec(net.minecraft.world.level.block.state.BlockState state, int weight) -
c
-
min
-
max
-
fo
-
sol
-
eval
public boolean eval(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, double dist) -
isSolid
public boolean isSolid()
-