public class CustomAdvancedTileEntityRailBlock
extends net.minecraft.block.AbstractRailBlock
implements info.u_team.u_team_core.api.registry.IUBlockRegistryType, info.u_team.u_team_core.api.ITileEntityBlock
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.item.BlockItem |
blockItem |
protected java.lang.String |
name |
static net.minecraft.state.EnumProperty<net.minecraft.state.properties.RailShape> |
SHAPE |
protected java.util.function.Supplier<net.minecraft.tileentity.TileEntityType<?>> |
tileEntityType |
Constructor and Description |
---|
CustomAdvancedTileEntityRailBlock(java.lang.String name,
net.minecraft.block.Block.Properties properties,
java.util.function.Supplier<net.minecraft.tileentity.TileEntityType<?>> tileEntityType) |
Modifier and Type | Method and Description |
---|---|
protected net.minecraft.item.BlockItem |
createBlockItem(net.minecraft.item.Item.Properties blockItemProperties) |
net.minecraft.tileentity.TileEntity |
createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world) |
protected void |
fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
net.minecraft.item.BlockItem |
getBlockItem() |
java.lang.String |
getEntryName() |
net.minecraft.state.IProperty<net.minecraft.state.properties.RailShape> |
getShapeProperty() |
net.minecraft.tileentity.TileEntityType<?> |
getTileEntityType(net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos) |
boolean |
hasTileEntity(net.minecraft.block.BlockState state) |
areCornersDisabled, canMakeSlopes, getPushReaction, getRailDirection, getRailMaxSpeed, getRenderLayer, getShape, getUpdatedState, isFlexibleRail, isRail, isRail, isValidPosition, neighborChanged, onBlockAdded, onMinecartPass, onReplaced, updateState
addInformation, allowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, func_220055_a, func_220064_c, func_220074_n, func_220080_a, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getContainer, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getRaytraceShape, getRenderShape, getRenderType, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateForPlacement, getStateId, getStrongPower, getTags, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasSolidSide, hasTileEntity, isAir, isDirt, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isVariableOpacity, makeCuboidShape, mirror, needsPostProcessing, nudgeEntitiesWithNewState, onBlockActivated, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, propagatesSkylightDown, randomTick, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, spawnDrops, tick, tickRate, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighbors, updatePostPlacement
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isTileEntityFromType, openContainer, openContainer
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canRenderInLayer, collisionExtendsVertically, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isReplaceableOreGen, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower
public static final net.minecraft.state.EnumProperty<net.minecraft.state.properties.RailShape> SHAPE
protected final java.lang.String name
protected final net.minecraft.item.BlockItem blockItem
protected final java.util.function.Supplier<net.minecraft.tileentity.TileEntityType<?>> tileEntityType
public CustomAdvancedTileEntityRailBlock(java.lang.String name, net.minecraft.block.Block.Properties properties, java.util.function.Supplier<net.minecraft.tileentity.TileEntityType<?>> tileEntityType)
protected net.minecraft.item.BlockItem createBlockItem(net.minecraft.item.Item.Properties blockItemProperties)
public java.lang.String getEntryName()
getEntryName
in interface info.u_team.u_team_core.api.registry.IURegistryType
public net.minecraft.item.BlockItem getBlockItem()
getBlockItem
in interface info.u_team.u_team_core.api.registry.IUBlockRegistryType
public boolean hasTileEntity(net.minecraft.block.BlockState state)
hasTileEntity
in interface net.minecraftforge.common.extensions.IForgeBlock
public net.minecraft.tileentity.TileEntity createTileEntity(net.minecraft.block.BlockState state, net.minecraft.world.IBlockReader world)
createTileEntity
in interface net.minecraftforge.common.extensions.IForgeBlock
public net.minecraft.tileentity.TileEntityType<?> getTileEntityType(net.minecraft.world.IBlockReader world, net.minecraft.util.math.BlockPos pos)
getTileEntityType
in interface info.u_team.u_team_core.api.ITileEntityBlock
public net.minecraft.state.IProperty<net.minecraft.state.properties.RailShape> getShapeProperty()
getShapeProperty
in class net.minecraft.block.AbstractRailBlock
protected void fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
fillStateContainer
in class net.minecraft.block.Block