Class EndPortalFrameBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

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

    • CODEC

      public static final com.mojang.serialization.MapCodec<EndPortalFrameBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/EndPortalFrameBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46345 Lnet/minecraft/class_2333;field_46345:Lcom/mojang/serialization/MapCodec;
      official a Ldhq;a:Lcom/mojang/serialization/MapCodec;
    • FACING

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

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

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

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

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

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

    • EndPortalFrameBlock

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

    • getCodec

      public com.mojang.serialization.MapCodec<EndPortalFrameBlock> getCodec()
      Overrides:
      getCodec in class Block
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      official a Ldsd;a()Lcom/mojang/serialization/MapCodec;
    • hasSidedTransparency

      protected 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
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named hasSidedTransparency Lnet/minecraft/block/AbstractBlock;hasSidedTransparency(Lnet/minecraft/block/BlockState;)Z
      intermediary method_9526 Lnet/minecraft/class_4970;method_9526(Lnet/minecraft/class_2680;)Z
      official f_ Ldsd;f_(Ldse;)Z
    • getOutlineShape

      protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      See Also:
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Ldsd;a(Ldse;Ldbg;Liz;Levy;)Lewm;
    • getPlacementState

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

      protected 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 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
      named hasComparatorOutput Lnet/minecraft/block/AbstractBlock;hasComparatorOutput(Lnet/minecraft/block/BlockState;)Z
      intermediary method_9498 Lnet/minecraft/class_4970;method_9498(Lnet/minecraft/class_2680;)Z
      official c_ Ldsd;c_(Ldse;)Z
    • getComparatorOutput

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

      When overriding this, 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
      named getComparatorOutput Lnet/minecraft/block/AbstractBlock;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
      intermediary method_9572 Lnet/minecraft/class_4970;method_9572(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)I
      official a Ldsd;a(Ldse;Ldca;Liz;)I
    • rotate

      protected 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
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named rotate Lnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
      intermediary method_9598 Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;
      official a Ldsd;a(Ldse;Ldlo;)Ldse;
    • mirror

      protected 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
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named mirror Lnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
      intermediary method_9569 Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;
      official a Ldsd;a(Ldse;Ldjy;)Ldse;
    • 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
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
      intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
      official a Ldfb;a(Ldsf$a;)V
    • getCompletedFramePattern

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

      protected boolean canPathfindThrough(BlockState state, 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
      See Also:
      API Note:
      Subclasses may override this to prevent or restrict pathfinding through the block. For example, DoorBlock restricts it to open doors only.
      Mappings:
      Namespace Name Mixin selector
      named canPathfindThrough Lnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z
      intermediary method_9516 Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_10;)Z
      official a Ldsd;a(Ldse;Leom;)Z