Ars Nouveau

Ars Nouveau

49M Downloads

Block place event not being called

Darkere opened this issue ยท 0 comments

commented

public void onResolveBlock(BlockHitResult rayTraceResult, Level world, @Nullable LivingEntity shooter, SpellStats spellStats, SpellContext spellContext) {

Somewhere there, the BlockEvent.EntityPlaceEvent event should be called and allow for cancelling/reverting the placement. Spells can currently be used to circumvent block placement restrictions :/