Class StandardBogeyBlock
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<net.minecraft.world.level.block.Block>
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
com.simibubi.create.content.logistics.trains.track.StandardBogeyBlock
- All Implemented Interfaces:
IWrenchable,IBogeyBlock,ISpecialBlockItemRequirement,ITE<StandardBogeyTileEntity>,ProperWaterloggedBlock,net.minecraft.world.level.block.BucketPickup,net.minecraft.world.level.block.EntityBlock,net.minecraft.world.level.block.LiquidBlockContainer,net.minecraft.world.level.block.SimpleWaterloggedBlock,net.minecraft.world.level.ItemLike,net.minecraftforge.common.extensions.IForgeBlock,net.minecraftforge.common.extensions.IForgeBucketPickup,net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.world.level.block.Block>
public class StandardBogeyBlock
extends net.minecraft.world.level.block.Block
implements IBogeyBlock, ITE<StandardBogeyTileEntity>, ProperWaterloggedBlock, ISpecialBlockItemRequirement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.Block
net.minecraft.world.level.block.Block.BlockStatePairKeyNested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase, net.minecraft.world.level.block.state.BlockBehaviour.OffsetType, net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<A extends Object>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicateNested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
net.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<V extends net.minecraftforge.registries.IForgeRegistryEntry<V>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis>Fields inherited from class net.minecraft.world.level.block.Block
BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, RANDOM, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SUPPRESS_DROPS, UPDATE_SUPPRESS_LIGHTFields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegateFields inherited from interface com.simibubi.create.content.logistics.trains.IBogeyBlock
BOGEYSFields inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock
WATERLOGGED -
Constructor Summary
ConstructorsConstructorDescriptionStandardBogeyBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties p_i48440_1_, boolean large) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidcreateBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) createInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, CarriageBogey bogey) net.minecraft.world.item.ItemStackgetCloneItemStack(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.HitResult target, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player) net.minecraft.world.phys.Vec3net.minecraft.world.level.material.FluidStategetFluidState(net.minecraft.world.level.block.state.BlockState pState) net.minecraft.world.level.block.state.BlockStategetMatchingBogey(net.minecraft.core.Direction upDirection, boolean axisAlongFirst) getRequiredItems(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntity te) EnumSet<net.minecraft.core.Direction>getStickySurfaces(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) net.minecraft.world.level.block.entity.BlockEntityType<? extends StandardBogeyTileEntity>doubledoublebooleanisTrackAxisAlongFirstCoordinate(net.minecraft.world.level.block.state.BlockState state) voidrender(net.minecraft.world.level.block.state.BlockState state, float wheelAngle, com.mojang.blaze3d.vertex.PoseStack ms, float partialTicks, net.minecraft.client.renderer.MultiBufferSource buffers, int light, int overlay) net.minecraft.world.level.block.state.BlockStaterotate(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.block.Rotation pRotation) net.minecraft.world.level.block.state.BlockStateupdateShape(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.core.Direction pDirection, net.minecraft.world.level.block.state.BlockState pNeighborState, net.minecraft.world.level.LevelAccessor pLevel, net.minecraft.core.BlockPos pCurrentPos, net.minecraft.core.BlockPos pNeighborPos) Methods inherited from class net.minecraft.world.level.block.Block
animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, getStateForPlacement, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOfMethods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getShape, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isPathfindable, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, use, useShapeForLightOcclusionMethods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.block.EntityBlock
getListenerMethods inherited from interface com.simibubi.create.content.logistics.trains.IBogeyBlock
getBogeyUpDirection, getRotatedBlockStateMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlock
addLandingEffects, addRunningEffects, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getToolModifiedState, getWeakChanges, hidesNeighborFace, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isValidSpawn, makesOpenTrapdoorAboveClimbable, onBlockExploded, onCaughtFire, onDestroyedByPlayer, onNeighborChange, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHidingMethods inherited from interface net.minecraftforge.common.extensions.IForgeBucketPickup
getPickupSoundMethods inherited from interface com.simibubi.create.foundation.block.ITE
getTicker, getTileEntity, getTileEntityOptional, newBlockEntity, onTileEntityUse, withTileEntityDoMethods inherited from interface com.simibubi.create.content.contraptions.wrench.IWrenchable
onSneakWrenched, onWrenched, playRemoveSound, playRotateSound, updateAfterWrenchedMethods inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock
fluidState, updateWater, withWaterMethods inherited from interface net.minecraft.world.level.block.SimpleWaterloggedBlock
canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
-
Field Details
-
AXIS
public static final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis> AXIS
-
-
Constructor Details
-
StandardBogeyBlock
public StandardBogeyBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties p_i48440_1_, boolean large)
-
-
Method Details
-
createBlockStateDefinition
protected void createBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) - Overrides:
createBlockStateDefinitionin classnet.minecraft.world.level.block.Block
-
getStickySurfaces
public EnumSet<net.minecraft.core.Direction> getStickySurfaces(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) - Specified by:
getStickySurfacesin interfaceIBogeyBlock
-
updateShape
public net.minecraft.world.level.block.state.BlockState updateShape(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.core.Direction pDirection, net.minecraft.world.level.block.state.BlockState pNeighborState, net.minecraft.world.level.LevelAccessor pLevel, net.minecraft.core.BlockPos pCurrentPos, net.minecraft.core.BlockPos pNeighborPos) - Overrides:
updateShapein classnet.minecraft.world.level.block.state.BlockBehaviour
-
getFluidState
public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.world.level.block.state.BlockState pState) - Overrides:
getFluidStatein classnet.minecraft.world.level.block.state.BlockBehaviour
-
getWheelPointSpacing
public double getWheelPointSpacing()- Specified by:
getWheelPointSpacingin interfaceIBogeyBlock
-
getWheelRadius
public double getWheelRadius()- Specified by:
getWheelRadiusin interfaceIBogeyBlock
-
getConnectorAnchorOffset
public net.minecraft.world.phys.Vec3 getConnectorAnchorOffset()- Specified by:
getConnectorAnchorOffsetin interfaceIBogeyBlock
-
allowsSingleBogeyCarriage
public boolean allowsSingleBogeyCarriage()- Specified by:
allowsSingleBogeyCarriagein interfaceIBogeyBlock
-
getMatchingBogey
public net.minecraft.world.level.block.state.BlockState getMatchingBogey(net.minecraft.core.Direction upDirection, boolean axisAlongFirst) - Specified by:
getMatchingBogeyin interfaceIBogeyBlock
-
isTrackAxisAlongFirstCoordinate
public boolean isTrackAxisAlongFirstCoordinate(net.minecraft.world.level.block.state.BlockState state) - Specified by:
isTrackAxisAlongFirstCoordinatein interfaceIBogeyBlock
-
render
public void render(net.minecraft.world.level.block.state.BlockState state, float wheelAngle, com.mojang.blaze3d.vertex.PoseStack ms, float partialTicks, net.minecraft.client.renderer.MultiBufferSource buffers, int light, int overlay) - Specified by:
renderin interfaceIBogeyBlock
-
createInstance
public BogeyInstance createInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, CarriageBogey bogey) - Specified by:
createInstancein interfaceIBogeyBlock
-
rotate
public net.minecraft.world.level.block.state.BlockState rotate(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.block.Rotation pRotation) - Overrides:
rotatein classnet.minecraft.world.level.block.state.BlockBehaviour
-
getCloneItemStack
public net.minecraft.world.item.ItemStack getCloneItemStack(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.HitResult target, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player) - Specified by:
getCloneItemStackin interfacenet.minecraftforge.common.extensions.IForgeBlock
-
getTileEntityClass
- Specified by:
getTileEntityClassin interfaceITE<StandardBogeyTileEntity>
-
getTileEntityType
public net.minecraft.world.level.block.entity.BlockEntityType<? extends StandardBogeyTileEntity> getTileEntityType()- Specified by:
getTileEntityTypein interfaceITE<StandardBogeyTileEntity>
-
getRequiredItems
public ItemRequirement getRequiredItems(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntity te) - Specified by:
getRequiredItemsin interfaceISpecialBlockItemRequirement
-