Package hiiragi283.core.common.block
Class HTBasicEntityBlock
-
- All Implemented Interfaces:
-
hiiragi283.core.common.block.HTBlockWithEntity,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike,net.minecraft.world.level.block.EntityBlock,net.neoforged.neoforge.common.extensions.IBlockExtension
public class HTBasicEntityBlock extends Block implements HTBlockWithEntity
-
-
Field Summary
Fields Modifier and Type Field Description private final StringdescriptionIdprivate final FloatjumpFactorprivate final FloatspeedFactorprivate final Floatfrictionprivate final ResourceKey<LootTable>lootTableprivate final StateDefinition<Block, BlockState>stateDefinitionprivate final FloatexplosionResistanceprivate final MutableComponentname
-
Constructor Summary
Constructors Constructor Description HTBasicEntityBlock(HTDeferredBlockEntityType<?> type, BlockBehaviour.Properties properties)
-
Method Summary
Modifier and Type Method Description UnitsetPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack)final HTDeferredBlockEntityType<?>getBlockEntityType()-
Methods inherited from class net.minecraft.world.level.block.Block
animateTick, appendHoverText, builtInRegistryHolder, defaultBlockState, destroy, dropFromExplosion, fallOn, getCloneItemStack, getDescriptionId, getExplosionResistance, getFriction, getJumpFactor, getName, getSpeedFactor, getStateDefinition, getStateForPlacement, handlePrecipitation, hasDynamicShape, initializeClient, isPossibleToRespawnInThis, playerDestroy, playerWillDestroy, popExperience, stepOn, updateEntityAfterFallOn, wasExploded, withPropertiesOf -
Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
asItem, defaultDestroyTime, defaultMapColor, getLootTable, properties -
Methods inherited from class net.neoforged.neoforge.common.extensions.IBlockExtension
addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, canSustainPlant, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getBubbleColumnDirection, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasDynamicLightEmission, hidesNeighborFace, ignitedByLava, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onDestroyedByPushReaction, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, shouldHideAdjacentFluidFace, supportsExternalFaceHiding -
Methods inherited from class net.minecraft.world.flag.FeatureElement
isEnabled, requiredFeatures -
Methods inherited from class hiiragi283.core.common.block.HTBlockWithEntity
getTicker, newBlockEntity -
Methods inherited from class net.minecraft.world.level.block.EntityBlock
getListener -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTBasicEntityBlock
HTBasicEntityBlock(HTDeferredBlockEntityType<?> type, BlockBehaviour.Properties properties)
-
-
Method Detail
-
setPlacedBy
Unit setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack)
-
getBlockEntityType
final HTDeferredBlockEntityType<?> getBlockEntityType()
-
-
-
-