Class PickupCondition
java.lang.Object
tschipp.carryon.common.pickupcondition.PickupCondition
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanisFulfilled(net.minecraft.server.level.ServerPlayer player) booleanmatches(net.minecraft.world.entity.Entity entity) booleanmatches(net.minecraft.world.level.block.state.BlockState state) static com.mojang.serialization.DataResult<PickupCondition>
-
Field Details
-
CODEC
-
-
Method Details
-
of
-
matches
public boolean matches(net.minecraft.world.level.block.state.BlockState state) -
matches
public boolean matches(net.minecraft.world.entity.Entity entity) -
getCondition
-
isFulfilled
public boolean isFulfilled(net.minecraft.server.level.ServerPlayer player)
-