2020-02-09 14:05:03 -05:00
|
|
|
CLASS net/minecraft/class_4651 net/minecraft/world/gen/stateprovider/BlockStateProvider
|
2021-10-29 16:34:14 -04:00
|
|
|
COMMENT A provider for {@linkplain BlockState block states}. Results may be random or based on a block position.
|
2020-08-16 07:46:06 -04:00
|
|
|
FIELD field_24937 TYPE_CODEC Lcom/mojang/serialization/Codec;
|
2022-11-01 06:03:49 -04:00
|
|
|
METHOD method_23455 get (Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
|
2021-10-29 16:34:14 -04:00
|
|
|
COMMENT {@return a provided block state}
|
2022-04-19 06:06:11 -04:00
|
|
|
ARG 1 random
|
2020-02-09 14:05:03 -05:00
|
|
|
ARG 2 pos
|
2020-06-24 12:35:17 -04:00
|
|
|
METHOD method_28862 getType ()Lnet/minecraft/class_4652;
|
2021-10-29 16:34:14 -04:00
|
|
|
COMMENT {@return the type of this block state provider}
|
|
|
|
COMMENT
|
|
|
|
COMMENT @implNote The returned block state provider type should be registered so that the {@code type} field is properly serialized.
|
2021-09-17 11:18:49 -04:00
|
|
|
METHOD method_38432 of (Lnet/minecraft/class_2248;)Lnet/minecraft/class_4656;
|
2021-10-29 16:34:14 -04:00
|
|
|
COMMENT {@return a block state provider that always returns the {@linkplain Block#getDefaultState() default state} for the given block}
|
2021-09-17 11:18:49 -04:00
|
|
|
ARG 0 block
|
2021-10-29 16:34:14 -04:00
|
|
|
COMMENT the block of the default state that the block state provider should return
|
2021-09-17 11:18:49 -04:00
|
|
|
METHOD method_38433 of (Lnet/minecraft/class_2680;)Lnet/minecraft/class_4656;
|
2021-10-29 16:34:14 -04:00
|
|
|
COMMENT {@return a block state provider that always returns the given state}
|
2021-09-17 11:18:49 -04:00
|
|
|
ARG 0 state
|
2021-10-29 16:34:14 -04:00
|
|
|
COMMENT the block state that the block state provider should return
|