java.lang.Object
com.blamejared.crafttweaker.natives.block.type.falling.ExpandFallable

@ZenRegister public class ExpandFallable extends Object
DocParam:
this (<block:minecraft:sand> as Fallable)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.damagesource.DamageSource
    getFallDamageSource(net.minecraft.world.level.block.Fallable internal)
    Gets the damage source used when this block falls on an entity.
    static Predicate<net.minecraft.world.entity.Entity>
    getHurtsEntitySelector(net.minecraft.world.level.block.Fallable internal)
    Gets a predicate that determines if an entity should be damaged by this falling block.
    static void
    onBrokenAfterFall(net.minecraft.world.level.block.Fallable internal, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.item.FallingBlockEntity fallingEntity)
     
    static void
    onLand(net.minecraft.world.level.block.Fallable internal, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState fallingState, net.minecraft.world.level.block.state.BlockState placeState, net.minecraft.world.entity.item.FallingBlockEntity fallingEntity)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandFallable

      public ExpandFallable()
  • Method Details

    • onLand

      public static void onLand(net.minecraft.world.level.block.Fallable internal, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState fallingState, net.minecraft.world.level.block.state.BlockState placeState, net.minecraft.world.entity.item.FallingBlockEntity fallingEntity)
    • onBrokenAfterFall

      public static void onBrokenAfterFall(net.minecraft.world.level.block.Fallable internal, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.item.FallingBlockEntity fallingEntity)
    • getFallDamageSource

      public static net.minecraft.world.damagesource.DamageSource getFallDamageSource(net.minecraft.world.level.block.Fallable internal)
      Gets the damage source used when this block falls on an entity.
      Returns:
      The damage source used when this block falls on an entity.
    • getHurtsEntitySelector

      public static Predicate<net.minecraft.world.entity.Entity> getHurtsEntitySelector(net.minecraft.world.level.block.Fallable internal)
      Gets a predicate that determines if an entity should be damaged by this falling block.
      Returns:
      The predicate that determines if an entity should be damaged by this falling block.