类 BlockState


  • public class BlockState
    extends AbstractBlock.AbstractBlockState
    Mappings:
    Namespace Name
    official cjr
    intermediary net/minecraft/class_2680
    named net/minecraft/block/BlockState
    • 字段详细资料

      • CODEC

        public static final com.mojang.serialization.Codec<BlockState> CODEC
        Mappings:
        Namespace Name Mixin selector
        official b Lcjr;b:Lcom/mojang/serialization/Codec;
        intermediary field_24734 Lnet/minecraft/class_2680;field_24734:Lcom/mojang/serialization/Codec;
        named CODEC Lnet/minecraft/block/BlockState;CODEC:Lcom/mojang/serialization/Codec;
    • 构造器详细资料

      • BlockState

        public BlockState​(Block block,
                          ImmutableMap<Property<?>,​Comparable<?>> propertyMap,
                          com.mojang.serialization.MapCodec<BlockState> codec)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcjq$a;<init>(Lbyq;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V
        intermediary <init> Lnet/minecraft/class_4970$class_4971;<init>(Lnet/minecraft/class_2248;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V
        named <init> Lnet/minecraft/block/AbstractBlock$AbstractBlockState;<init>(Lnet/minecraft/block/Block;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V
    • 方法详细资料

      • asBlockState

        protected BlockState asBlockState()
        指定者:
        asBlockState 在类中 AbstractBlock.AbstractBlockState
        Mappings:
        Namespace Name Mixin selector
        official q Lcjq$a;q()Lcjr;
        intermediary method_26233 Lnet/minecraft/class_4970$class_4971;method_26233()Lnet/minecraft/class_2680;
        named asBlockState Lnet/minecraft/block/AbstractBlock$AbstractBlockState;asBlockState()Lnet/minecraft/block/BlockState;