Package hiiragi283.core.common.block
Class HTExplosiveLiquidBlock
-
- All Implemented Interfaces:
-
net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike,net.minecraft.world.level.block.BucketPickup,net.neoforged.neoforge.common.extensions.IBlockExtension,net.neoforged.neoforge.common.extensions.IBucketPickupExtension
public final class HTExplosiveLiquidBlock extends LiquidBlock
-
-
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 MutableComponentnameprivate final Optional<SoundEvent>pickupSoundpublic final FlowingFluidfluid
-
Constructor Summary
Constructors Constructor Description HTExplosiveLiquidBlock(FlowingFluid fluid, BlockBehaviour.Properties properties)
-
Method Summary
Modifier and Type Method Description UnitonCaughtFire(BlockState state, Level level, BlockPos pos, Direction direction, LivingEntity igniter)UnitonBlockExploded(BlockState state, Level level, BlockPos pos, Explosion explosion)-
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, setPlacedBy, stepOn, updateEntityAfterFallOn, wasExploded, withPropertiesOf -
Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
asItem, codec, defaultDestroyTime, defaultMapColor, getLootTable, properties -
Methods inherited from class net.minecraft.world.level.block.LiquidBlock
getPickupSound -
Methods inherited from class net.minecraft.world.level.block.BucketPickup
pickupBlock -
Methods inherited from class net.neoforged.neoforge.common.extensions.IBucketPickupExtension
getPickupSound -
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, onBlockStateChange, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onCaughtFire
Unit onCaughtFire(BlockState state, Level level, BlockPos pos, Direction direction, LivingEntity igniter)
-
onBlockExploded
Unit onBlockExploded(BlockState state, Level level, BlockPos pos, Explosion explosion)
-
-
-
-