EvenBetterArcheology unspecified
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
de.sakurajin.evenbetterarcheology.api.block.FossilBase Class Referenceabstract
Inheritance diagram for de.sakurajin.evenbetterarcheology.api.block.FossilBase:
Inheritance graph
[legend]
Collaboration diagram for de.sakurajin.evenbetterarcheology.api.block.FossilBase:
Collaboration graph
[legend]

Public Member Functions

 FossilBase (Settings settings, String[] textureVariants, int blockItemIndex, Map< Direction, VoxelShape > SHAPE_DIRECTED, String translationSuffixKey, boolean isPart)
 
 FossilBase (Settings settings, String[] textureVariants, int blockItemIndex, Map< Direction, VoxelShape > SHAPE_DIRECTED, String translationSuffixKey)
 
 FossilBase (Settings settings, String[] textureVariants, int blockItemIndex, VoxelShape SHAPE, String translationSuffixKey)
 
 FossilBase (Settings settings, String[] textureVariants, int blockItemIndex, VoxelShape SHAPE, String translationSuffixKey, boolean isPart)
 
void onBreak (World world, BlockPos pos, BlockState state, PlayerEntity player)
 
VoxelShape getOutlineShape (BlockState state, BlockView world, BlockPos pos, ShapeContext context)
 
BlockRenderType getRenderType (BlockState state)
 
BlockState getPlacementState (ItemPlacementContext ctx)
 
void appendTooltip (ItemStack stack, @Nullable BlockView world, List< Text > tooltip, TooltipContext options)
 
BlockState rotate (BlockState state, BlockRotation rotation)
 
BlockState mirror (BlockState state, BlockMirror mirror)
 
ItemConvertible generateData (DatagenModContainer container, String identifier)
 

Protected Member Functions

void appendProperties (StateManager.Builder< Block, BlockState > builder)
 

Protected Attributes

final Map< Direction, VoxelShape > SHAPE_DIRECTED
 

Constructor & Destructor Documentation

◆ FossilBase() [1/4]

de.sakurajin.evenbetterarcheology.api.block.FossilBase.FossilBase ( Settings  settings,
String[]  textureVariants,
int  blockItemIndex,
Map< Direction, VoxelShape >  SHAPE_DIRECTED,
String  translationSuffixKey,
boolean  isPart 
)

◆ FossilBase() [2/4]

de.sakurajin.evenbetterarcheology.api.block.FossilBase.FossilBase ( Settings  settings,
String[]  textureVariants,
int  blockItemIndex,
Map< Direction, VoxelShape >  SHAPE_DIRECTED,
String  translationSuffixKey 
)

◆ FossilBase() [3/4]

de.sakurajin.evenbetterarcheology.api.block.FossilBase.FossilBase ( Settings  settings,
String[]  textureVariants,
int  blockItemIndex,
VoxelShape  SHAPE,
String  translationSuffixKey 
)

◆ FossilBase() [4/4]

de.sakurajin.evenbetterarcheology.api.block.FossilBase.FossilBase ( Settings  settings,
String[]  textureVariants,
int  blockItemIndex,
VoxelShape  SHAPE,
String  translationSuffixKey,
boolean  isPart 
)

Member Function Documentation

◆ appendProperties()

void de.sakurajin.evenbetterarcheology.api.block.FossilBase.appendProperties ( StateManager.Builder< Block, BlockState >  builder)
protected

◆ appendTooltip()

void de.sakurajin.evenbetterarcheology.api.block.FossilBase.appendTooltip ( ItemStack  stack,
@Nullable BlockView  world,
List< Text >  tooltip,
TooltipContext  options 
)

◆ generateData()

ItemConvertible de.sakurajin.evenbetterarcheology.api.block.FossilBase.generateData ( DatagenModContainer  container,
String  identifier 
)

◆ getOutlineShape()

VoxelShape de.sakurajin.evenbetterarcheology.api.block.FossilBase.getOutlineShape ( BlockState  state,
BlockView  world,
BlockPos  pos,
ShapeContext  context 
)

◆ getPlacementState()

BlockState de.sakurajin.evenbetterarcheology.api.block.FossilBase.getPlacementState ( ItemPlacementContext  ctx)

◆ getRenderType()

BlockRenderType de.sakurajin.evenbetterarcheology.api.block.FossilBase.getRenderType ( BlockState  state)

◆ mirror()

BlockState de.sakurajin.evenbetterarcheology.api.block.FossilBase.mirror ( BlockState  state,
BlockMirror  mirror 
)

◆ onBreak()

void de.sakurajin.evenbetterarcheology.api.block.FossilBase.onBreak ( World  world,
BlockPos  pos,
BlockState  state,
PlayerEntity  player 
)

◆ rotate()

BlockState de.sakurajin.evenbetterarcheology.api.block.FossilBase.rotate ( BlockState  state,
BlockRotation  rotation 
)

Member Data Documentation

◆ SHAPE_DIRECTED

final Map<Direction, VoxelShape> de.sakurajin.evenbetterarcheology.api.block.FossilBase.SHAPE_DIRECTED
protected

The documentation for this class was generated from the following file: