Klasse BlockModificationEvent
java.lang.Object
net.neoforged.bus.api.Event
de.luckymcdev.foundryengine.common.event.modification.BlockModificationEvent
public class BlockModificationEvent
extends net.neoforged.bus.api.Event
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungexplosionResistance(float resistance) friction(float friction) net.minecraft.world.level.block.BlockgetBlock()hasCollision(boolean collision) jumpFactor(float jumpFactor) lightEmission(int emission) randomlyTicking(boolean randomlyTicking) setDestroySpeed(float speed) setRequiresTool(boolean requiresTool) soundType(net.minecraft.world.level.block.SoundType type) speedFactor(float speedFactor)
-
Konstruktordetails
-
BlockModificationEvent
public BlockModificationEvent(net.minecraft.world.level.block.Block block)
-
-
Methodendetails
-
getBlock
public net.minecraft.world.level.block.Block getBlock() -
hasCollision
-
explosionResistance
-
randomlyTicking
-
soundType
-
friction
-
speedFactor
-
jumpFactor
-
setDestroySpeed
-
setRequiresTool
-
lightEmission
-