接口 ShapeContext

  • 所有已知实现类:
    EntityShapeContext

    public interface ShapeContext
    Mappings:
    Namespace Name
    official dmf
    intermediary net/minecraft/class_3726
    named net/minecraft/block/ShapeContext
    • 方法详细资料

      • absent

        static ShapeContext absent()
        Mappings:
        Namespace Name Mixin selector
        official a Ldmf;a()Ldmf;
        intermediary method_16194 Lnet/minecraft/class_3726;method_16194()Lnet/minecraft/class_3726;
        named absent Lnet/minecraft/block/ShapeContext;absent()Lnet/minecraft/block/ShapeContext;
      • of

        static ShapeContext of​(Entity entity)
        Mappings:
        Namespace Name Mixin selector
        official a Ldmf;a(Lasl;)Ldmf;
        intermediary method_16195 Lnet/minecraft/class_3726;method_16195(Lnet/minecraft/class_1297;)Lnet/minecraft/class_3726;
        named of Lnet/minecraft/block/ShapeContext;of(Lnet/minecraft/entity/Entity;)Lnet/minecraft/block/ShapeContext;
      • isDescending

        boolean isDescending()
        Mappings:
        Namespace Name Mixin selector
        official b Ldmf;b()Z
        intermediary method_16193 Lnet/minecraft/class_3726;method_16193()Z
        named isDescending Lnet/minecraft/block/ShapeContext;isDescending()Z
      • isAbove

        boolean isAbove​(VoxelShape shape,
                        BlockPos pos,
                        boolean defaultValue)
        Mappings:
        Namespace Name Mixin selector
        official a Ldmf;a(Ldmt;Lgb;Z)Z
        intermediary method_16192 Lnet/minecraft/class_3726;method_16192(Lnet/minecraft/class_265;Lnet/minecraft/class_2338;Z)Z
        named isAbove Lnet/minecraft/block/ShapeContext;isAbove(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/BlockPos;Z)Z
      • isWearingOnFeet

        boolean isWearingOnFeet​(Item item)
        Mappings:
        Namespace Name Mixin selector
        official a Ldmf;a(Lbpn;)Z
        intermediary method_35591 Lnet/minecraft/class_3726;method_35591(Lnet/minecraft/class_1792;)Z
        named isWearingOnFeet Lnet/minecraft/block/ShapeContext;isWearingOnFeet(Lnet/minecraft/item/Item;)Z
      • isHolding

        boolean isHolding​(Item item)
        Mappings:
        Namespace Name Mixin selector
        official b Ldmf;b(Lbpn;)Z
        intermediary method_17785 Lnet/minecraft/class_3726;method_17785(Lnet/minecraft/class_1792;)Z
        named isHolding Lnet/minecraft/block/ShapeContext;isHolding(Lnet/minecraft/item/Item;)Z
      • canWalkOnFluid

        boolean canWalkOnFluid​(FluidState state,
                               FlowableFluid fluid)
        Mappings:
        Namespace Name Mixin selector
        official a Ldmf;a(Ldds;Lddq;)Z
        intermediary method_27866 Lnet/minecraft/class_3726;method_27866(Lnet/minecraft/class_3610;Lnet/minecraft/class_3609;)Z
        named canWalkOnFluid Lnet/minecraft/block/ShapeContext;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/fluid/FlowableFluid;)Z