Interface ICustomParticleBlock

All Superinterfaces:
net.neoforged.neoforge.common.extensions.IBlockExtension

public interface ICustomParticleBlock extends net.neoforged.neoforge.common.extensions.IBlockExtension
Trait like interface for adding CustomParticle support to any block, Simply implement :D

Created by covers1624 on 31/10/19.

  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    addLandingEffects(net.minecraft.world.level.block.state.BlockState state1, net.minecraft.server.level.ServerLevel worldserver, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state2, net.minecraft.world.entity.LivingEntity entity, int numberOfParticles)
     
    default boolean
    addRunningEffects(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity)
     

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockExtension

    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, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onDestroyedByPushReaction, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding
  • Method Details

    • addLandingEffects

      default boolean addLandingEffects(net.minecraft.world.level.block.state.BlockState state1, net.minecraft.server.level.ServerLevel worldserver, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state2, net.minecraft.world.entity.LivingEntity entity, int numberOfParticles)
      Specified by:
      addLandingEffects in interface net.neoforged.neoforge.common.extensions.IBlockExtension
    • addRunningEffects

      default boolean addRunningEffects(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity)
      Specified by:
      addRunningEffects in interface net.neoforged.neoforge.common.extensions.IBlockExtension