Skip to content

Commit

Permalink
feat(utils): BlockUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Jun 26, 2022
1 parent b675351 commit 9dc2d33
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/org/auioc/mcmod/arnicalib/utils/game/BlockUtils.java
@@ -0,0 +1,11 @@
package org.auioc.mcmod.arnicalib.utils.game;

import net.minecraft.world.level.block.state.BlockState;

public interface BlockUtils {

static boolean canStandOnSafely(BlockState blockStats) {
return blockStats.getMaterial().blocksMotion();
}

}

0 comments on commit 9dc2d33

Please sign in to comment.