1.18 pre5 block predicates (#2861)

* 1.18-pre5 BlockPredicates

* Update BlockPredicate.mapping
This commit is contained in:
Shnupbups 2021-11-23 00:43:23 +11:00 committed by GitHub
parent 9f40bab231
commit ff527ce665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 0 deletions

View File

@ -43,3 +43,13 @@ CLASS net/minecraft/class_6646 net/minecraft/world/gen/blockpredicate/BlockPredi
METHOD method_39585 solid ()Lnet/minecraft/class_6646;
METHOD method_39586 insideWorldBounds (Lnet/minecraft/class_2382;)Lnet/minecraft/class_6646;
ARG 0 offset
METHOD method_39907 matchingBlockTag (Lnet/minecraft/class_3494;)Lnet/minecraft/class_6646;
ARG 0 offset
METHOD method_39908 matchingBlockTag (Lnet/minecraft/class_3494;Lnet/minecraft/class_2382;)Lnet/minecraft/class_6646;
ARG 0 tag
ARG 1 offset
METHOD method_39909 hasSturdyFace (Lnet/minecraft/class_2382;Lnet/minecraft/class_2350;)Lnet/minecraft/class_6646;
ARG 0 offset
ARG 1 face
METHOD method_39910 matchingBlocks (Ljava/util/List;)Lnet/minecraft/class_6646;
ARG 0 blocks

View File

@ -0,0 +1,10 @@
CLASS net/minecraft/class_6847 net/minecraft/world/gen/blockpredicate/HasSturdyFacePredicate
FIELD field_36284 CODEC Lcom/mojang/serialization/Codec;
FIELD field_36285 offset Lnet/minecraft/class_2382;
FIELD field_36286 face Lnet/minecraft/class_2350;
METHOD <init> (Lnet/minecraft/class_2382;Lnet/minecraft/class_2350;)V
ARG 1 offset
ARG 2 face
METHOD test (Ljava/lang/Object;Ljava/lang/Object;)Z
ARG 1 world
ARG 2 pos

View File

@ -0,0 +1,6 @@
CLASS net/minecraft/class_6848 net/minecraft/world/gen/blockpredicate/MatchingBlockTagPredicate
FIELD field_36287 tag Lnet/minecraft/class_3494;
FIELD field_36288 CODEC Lcom/mojang/serialization/Codec;
METHOD <init> (Lnet/minecraft/class_2382;Lnet/minecraft/class_3494;)V
ARG 1 offset
ARG 2 tag