public abstract class BlockCustomRailPowered
extends net.minecraft.block.BlockRailPowered
implements info.u_team.u_team_core.api.registry.IUBlock, info.u_team.u_team_core.api.IModelProvider
net.minecraft.block.BlockRailBase.EnumRailDirection, net.minecraft.block.BlockRailBase.Rail
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, material, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness
Constructor and Description |
---|
BlockCustomRailPowered(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
canMakeSlopes(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.item.Item |
getItem() |
net.minecraft.item.ItemBlock |
getItemBlock() |
java.lang.String |
getName() |
void |
onMinecartPass(net.minecraft.world.World world,
net.minecraft.entity.item.EntityMinecart cart,
net.minecraft.util.math.BlockPos pos) |
abstract void |
onMinecartPassPowered(net.minecraft.world.World world,
net.minecraft.entity.item.EntityMinecart cart,
net.minecraft.util.math.BlockPos pos) |
void |
registerModel() |
createBlockState, findPoweredRailSignal, getMetaFromState, getShapeProperty, getStateFromMeta, isSameRailWithPower, updateState, withMirror, withRotation
breakBlock, canPlaceBlockAt, getBlockFaceShape, getBoundingBox, getCollisionBoundingBox, getPushReaction, getRailDirection, getRailMaxSpeed, getRenderLayer, isFlexibleRail, isFullCube, isOpaqueCube, isRailBlock, isRailBlock, neighborChanged, onBlockAdded, rotateBlock, updateDir
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTab, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffset, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateForPlacement, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getTranslationKey, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, observedNeighborChange, onBlockActivated, onBlockClicked, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, onPlayerDestroy, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setTranslationKey, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public java.lang.String getName()
getName
in interface info.u_team.u_team_core.api.registry.IURegistry
public void registerModel()
registerModel
in interface info.u_team.u_team_core.api.IModelProvider
public net.minecraft.item.Item getItem()
getItem
in interface info.u_team.u_team_core.api.registry.IUBlock
public net.minecraft.item.ItemBlock getItemBlock()
getItemBlock
in interface info.u_team.u_team_core.api.registry.IUBlock
public boolean canMakeSlopes(net.minecraft.world.IBlockAccess world, net.minecraft.util.math.BlockPos pos)
canMakeSlopes
in class net.minecraft.block.BlockRailBase
public void onMinecartPass(net.minecraft.world.World world, net.minecraft.entity.item.EntityMinecart cart, net.minecraft.util.math.BlockPos pos)
onMinecartPass
in class net.minecraft.block.BlockRailBase
public abstract void onMinecartPassPowered(net.minecraft.world.World world, net.minecraft.entity.item.EntityMinecart cart, net.minecraft.util.math.BlockPos pos)