Interface BlockPredicateType<P extends BlockPredicate>
public interface BlockPredicateType<P extends BlockPredicate>
- Mappings:
Namespace Name official cubintermediary net/minecraft/class_6647named net/minecraft/world/gen/blockpredicate/BlockPredicateType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockPredicateType<AllOfBlockPredicate>static final BlockPredicateType<AnyOfBlockPredicate>static final BlockPredicateType<class_6783>static final BlockPredicateType<MatchingBlocksBlockPredicate>static final BlockPredicateType<MatchingFluidsBlockPredicate>static final BlockPredicateType<NotBlockPredicate>static final BlockPredicateType<ReplaceableBlockPredicate>static final BlockPredicateType<class_6784>static final BlockPredicateType<AlwaysTrueBlockPredicate>static final BlockPredicateType<WouldSurviveBlockPredicate> -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<P>codec()private static <P extends BlockPredicate>
BlockPredicateType<P>
-
Field Details
-
MATCHING_BLOCKS
- Mappings:
Namespace Name Mixin selector official aLcub;a:Lcub;intermediary field_35055Lnet/minecraft/class_6647;field_35055:Lnet/minecraft/class_6647;named MATCHING_BLOCKSLnet/minecraft/world/gen/blockpredicate/BlockPredicateType;MATCHING_BLOCKS:Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-
MATCHING_FLUIDS
- Mappings:
Namespace Name Mixin selector official bLcub;b:Lcub;intermediary field_35056Lnet/minecraft/class_6647;field_35056:Lnet/minecraft/class_6647;named MATCHING_FLUIDSLnet/minecraft/world/gen/blockpredicate/BlockPredicateType;MATCHING_FLUIDS:Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-
SOLID
- Mappings:
Namespace Name Mixin selector official cLcub;c:Lcub;intermediary field_35698Lnet/minecraft/class_6647;field_35698:Lnet/minecraft/class_6647;named SOLIDLnet/minecraft/world/gen/blockpredicate/BlockPredicateType;SOLID:Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-
REPLACEABLE
- Mappings:
Namespace Name Mixin selector official dLcub;d:Lcub;intermediary field_35057Lnet/minecraft/class_6647;field_35057:Lnet/minecraft/class_6647;named REPLACEABLELnet/minecraft/world/gen/blockpredicate/BlockPredicateType;REPLACEABLE:Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-
WOULD_SURVIVE
- Mappings:
Namespace Name Mixin selector official eLcub;e:Lcub;intermediary field_35155Lnet/minecraft/class_6647;field_35155:Lnet/minecraft/class_6647;named WOULD_SURVIVELnet/minecraft/world/gen/blockpredicate/BlockPredicateType;WOULD_SURVIVE:Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-
INSIDE_WORLD_BOUNDS
- Mappings:
Namespace Name Mixin selector official fLcub;f:Lcub;intermediary field_35699Lnet/minecraft/class_6647;field_35699:Lnet/minecraft/class_6647;named INSIDE_WORLD_BOUNDSLnet/minecraft/world/gen/blockpredicate/BlockPredicateType;INSIDE_WORLD_BOUNDS:Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-
ANY_OF
- Mappings:
Namespace Name Mixin selector official gLcub;g:Lcub;intermediary field_35058Lnet/minecraft/class_6647;field_35058:Lnet/minecraft/class_6647;named ANY_OFLnet/minecraft/world/gen/blockpredicate/BlockPredicateType;ANY_OF:Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-
ALL_OF
- Mappings:
Namespace Name Mixin selector official hLcub;h:Lcub;intermediary field_35059Lnet/minecraft/class_6647;field_35059:Lnet/minecraft/class_6647;named ALL_OFLnet/minecraft/world/gen/blockpredicate/BlockPredicateType;ALL_OF:Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-
NOT
- Mappings:
Namespace Name Mixin selector official iLcub;i:Lcub;intermediary field_35060Lnet/minecraft/class_6647;field_35060:Lnet/minecraft/class_6647;named NOTLnet/minecraft/world/gen/blockpredicate/BlockPredicateType;NOT:Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-
TRUE
- Mappings:
Namespace Name Mixin selector official jLcub;j:Lcub;intermediary field_35156Lnet/minecraft/class_6647;field_35156:Lnet/minecraft/class_6647;named TRUELnet/minecraft/world/gen/blockpredicate/BlockPredicateType;TRUE:Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-
-
Method Details
-
codec
com.mojang.serialization.Codec<P> codec() -
register
private static <P extends BlockPredicate> BlockPredicateType<P> register(String id, com.mojang.serialization.Codec<P> codec) - Mappings:
Namespace Name Mixin selector official aLcub;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcub;intermediary method_38889Lnet/minecraft/class_6647;method_38889(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_6647;named registerLnet/minecraft/world/gen/blockpredicate/BlockPredicateType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-