Package net.minecraft.predicate
Class LightPredicate
java.lang.Object
net.minecraft.predicate.LightPredicate
public class LightPredicate extends Object
- Mappings:
Namespace Name official caintermediary net/minecraft/class_4552named net/minecraft/predicate/LightPredicate
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLightPredicate.class_6087 -
Field Summary
Fields Modifier and Type Field Description static LightPredicateANYprivate NumberRange.IntRangerange -
Constructor Summary
Constructors Modifier Constructor Description privateLightPredicate(NumberRange.IntRange range) -
Method Summary
Modifier and Type Method Description static LightPredicatefromJson(@Nullable JsonElement json)booleantest(ServerWorld world, BlockPos pos)JsonElementtoJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official aLca;a:Lca;intermediary field_20712Lnet/minecraft/class_4552;field_20712:Lnet/minecraft/class_4552;named ANYLnet/minecraft/predicate/LightPredicate;ANY:Lnet/minecraft/predicate/LightPredicate;
-
range
- Mappings:
Namespace Name Mixin selector official bLca;b:Lce$d;intermediary field_20713Lnet/minecraft/class_4552;field_20713:Lnet/minecraft/class_2096$class_2100;named rangeLnet/minecraft/predicate/LightPredicate;range:Lnet/minecraft/predicate/NumberRange$IntRange;
-
-
Constructor Details
-
LightPredicate
- Mappings:
Namespace Name Mixin selector official <init>Lca;<init>(Lce$d;)Vintermediary <init>Lnet/minecraft/class_4552;<init>(Lnet/minecraft/class_2096$class_2100;)Vnamed <init>Lnet/minecraft/predicate/LightPredicate;<init>(Lnet/minecraft/predicate/NumberRange$IntRange;)V
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official aLca;a(Labj;Lgb;)Zintermediary method_22483Lnet/minecraft/class_4552;method_22483(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Znamed testLnet/minecraft/predicate/LightPredicate;test(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
-
toJson
- Mappings:
Namespace Name Mixin selector official aLca;a()Lcom/google/gson/JsonElement;intermediary method_22481Lnet/minecraft/class_4552;method_22481()Lcom/google/gson/JsonElement;named toJsonLnet/minecraft/predicate/LightPredicate;toJson()Lcom/google/gson/JsonElement;
-
fromJson
- Mappings:
Namespace Name Mixin selector official aLca;a(Lcom/google/gson/JsonElement;)Lca;intermediary method_22482Lnet/minecraft/class_4552;method_22482(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_4552;named fromJsonLnet/minecraft/predicate/LightPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/LightPredicate;
-