Class LightPredicate
- java.lang.Object
-
- net.minecraft.advancements.criterion.LightPredicate
-
public class LightPredicate extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static LightPredicate
ANY
private MinMaxBounds.IntBound
composite
-
Constructor Summary
Constructors Modifier Constructor Description private
LightPredicate(MinMaxBounds.IntBound p_i225753_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LightPredicate
fromJson(com.google.gson.JsonElement p_226857_0_)
boolean
matches(ServerWorld p_226858_1_, BlockPos p_226858_2_)
com.google.gson.JsonElement
serializeToJson()
-
-
-
Field Detail
-
ANY
public static final LightPredicate ANY
-
composite
private final MinMaxBounds.IntBound composite
-
-
Constructor Detail
-
LightPredicate
private LightPredicate(MinMaxBounds.IntBound p_i225753_1_)
-
-
Method Detail
-
matches
public boolean matches(ServerWorld p_226858_1_, BlockPos p_226858_2_)
-
serializeToJson
public com.google.gson.JsonElement serializeToJson()
-
fromJson
public static LightPredicate fromJson(@Nullable com.google.gson.JsonElement p_226857_0_)
-
-