Class EndPortalFrameBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class EndPortalFrameBlock extends Block
Mappings:
Namespace Name
official cvg
intermediary net/minecraft/class_2333
named net/minecraft/block/EndPortalFrameBlock
  • Field Details

    • FACING

      public static final DirectionProperty FACING
      Mappings:
      Namespace Name Mixin selector
      official a Lcvg;a:Ldgd;
      intermediary field_10954 Lnet/minecraft/class_2333;field_10954:Lnet/minecraft/class_2753;
      named FACING Lnet/minecraft/block/EndPortalFrameBlock;FACING:Lnet/minecraft/state/property/DirectionProperty;
    • EYE

      public static final BooleanProperty EYE
      Mappings:
      Namespace Name Mixin selector
      official b Lcvg;b:Ldga;
      intermediary field_10958 Lnet/minecraft/class_2333;field_10958:Lnet/minecraft/class_2746;
      named EYE Lnet/minecraft/block/EndPortalFrameBlock;EYE:Lnet/minecraft/state/property/BooleanProperty;
    • FRAME_SHAPE

      protected static final VoxelShape FRAME_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official c Lcvg;c:Leig;
      intermediary field_10956 Lnet/minecraft/class_2333;field_10956:Lnet/minecraft/class_265;
      named FRAME_SHAPE Lnet/minecraft/block/EndPortalFrameBlock;FRAME_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • EYE_SHAPE

      protected static final VoxelShape EYE_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official d Lcvg;d:Leig;
      intermediary field_10953 Lnet/minecraft/class_2333;field_10953:Lnet/minecraft/class_265;
      named EYE_SHAPE Lnet/minecraft/block/EndPortalFrameBlock;EYE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • FRAME_WITH_EYE_SHAPE

      protected static final VoxelShape FRAME_WITH_EYE_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official e Lcvg;e:Leig;
      intermediary field_10955 Lnet/minecraft/class_2333;field_10955:Lnet/minecraft/class_265;
      named FRAME_WITH_EYE_SHAPE Lnet/minecraft/block/EndPortalFrameBlock;FRAME_WITH_EYE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • COMPLETED_FRAME

      private static BlockPattern COMPLETED_FRAME
      Mappings:
      Namespace Name Mixin selector
      official f Lcvg;f:Ldfo;
      intermediary field_10957 Lnet/minecraft/class_2333;field_10957:Lnet/minecraft/class_2700;
      named COMPLETED_FRAME Lnet/minecraft/block/EndPortalFrameBlock;COMPLETED_FRAME:Lnet/minecraft/block/pattern/BlockPattern;
  • Constructor Details

    • EndPortalFrameBlock

      public EndPortalFrameBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldfi;<init>(Ldfi$d;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • hasSidedTransparency

      public boolean hasSidedTransparency(BlockState state)
      Returns whether the block's transparency depends on the side of the block, like slabs.
      Overrides:
      hasSidedTransparency in class AbstractBlock
      Returns:
      whether the block's transparency depends on the side of the block, like slabs
      Mappings:
      Namespace Name Mixin selector
      official g_ Ldfi;g_(Ldfj;)Z
      intermediary method_9526 Lnet/minecraft/class_4970;method_9526(Lnet/minecraft/class_2680;)Z
      named hasSidedTransparency Lnet/minecraft/block/AbstractBlock;hasSidedTransparency(Lnet/minecraft/block/BlockState;)Z
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldfi;a(Ldfj;Lcpb;Lgw;Lehs;)Leig;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • getPlacementState

      public BlockState getPlacementState(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lcsv;a(Lcln;)Ldfj;
      intermediary method_9605 Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
      named getPlacementState Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
    • hasComparatorOutput

      public boolean hasComparatorOutput(BlockState state)
      Returns whether the block can have a comparator output.

      This does not check the current comparator output of the block. Use AbstractBlock.getComparatorOutput(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos) in that case.

      Overrides:
      hasComparatorOutput in class AbstractBlock
      Returns:
      whether the block can have a comparator output
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d_ Ldfi;d_(Ldfj;)Z
      intermediary method_9498 Lnet/minecraft/class_4970;method_9498(Lnet/minecraft/class_2680;)Z
      named hasComparatorOutput Lnet/minecraft/block/AbstractBlock;hasComparatorOutput(Lnet/minecraft/block/BlockState;)Z
    • getComparatorOutput

      public int getComparatorOutput(BlockState state, World world, BlockPos pos)
      Returns the comparator output of the block, from 0 to 15.

      When overriding this, AbstractBlock.hasComparatorOutput(net.minecraft.block.BlockState) must also be overridden.

      Overrides:
      getComparatorOutput in class AbstractBlock
      Returns:
      the comparator output of the block, from 0 to 15
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldfi;a(Ldfj;Lcpv;Lgw;)I
      intermediary method_9572 Lnet/minecraft/class_4970;method_9572(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)I
      named getComparatorOutput Lnet/minecraft/block/AbstractBlock;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
    • rotate

      public BlockState rotate(BlockState state, BlockRotation rotation)
      Returns state rotated by rotation.

      By default, this returns the provided block state.

      Overrides:
      rotate in class AbstractBlock
      Returns:
      state rotated by rotation
      Mappings:
      Namespace Name Mixin selector
      official a Ldfi;a(Ldfj;Lczh;)Ldfj;
      intermediary method_9598 Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;
      named rotate Lnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
    • mirror

      public BlockState mirror(BlockState state, BlockMirror mirror)
      Returns state mirrored by mirror.

      By default, this returns the provided block state.

      Overrides:
      mirror in class AbstractBlock
      Returns:
      state mirrored by mirror
      Mappings:
      Namespace Name Mixin selector
      official a Ldfi;a(Ldfj;Lcxq;)Ldfj;
      intermediary method_9569 Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;
      named mirror Lnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Appends block state properties to this block. To use this, override and call StateManager.Builder.add(net.minecraft.state.property.Property<?>[]) inside the method. See Properties for the list of pre-defined properties.
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lcsv;a(Ldfk$a;)V
      intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
    • getCompletedFramePattern

      public static BlockPattern getCompletedFramePattern()
      Mappings:
      Namespace Name Mixin selector
      official a Lcvg;a()Ldfo;
      intermediary method_10054 Lnet/minecraft/class_2333;method_10054()Lnet/minecraft/class_2700;
      named getCompletedFramePattern Lnet/minecraft/block/EndPortalFrameBlock;getCompletedFramePattern()Lnet/minecraft/block/pattern/BlockPattern;
    • canPathfindThrough

      public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
      Returns if an entity using navigation type type can navigate through this block.
      Overrides:
      canPathfindThrough in class AbstractBlock
      Returns:
      if an entity using navigation type type can navigate through this block
      Mappings:
      Namespace Name Mixin selector
      official a Ldfi;a(Ldfj;Lcpb;Lgw;Lebc;)Z
      intermediary method_9516 Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Z
      named canPathfindThrough Lnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z