Skip to content

Commit

Permalink
Add AbstractBaseEntityBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfieboy09 committed Nov 1, 2024
1 parent f56cbe0 commit fe02f45
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package dev.wolfieboy09.qstorage.block;


import dev.wolfieboy09.qstorage.api.annotation.NothingNullByDefault;
import net.minecraft.world.level.block.BaseEntityBlock;
import net.minecraft.world.level.block.RenderShape;
import net.minecraft.world.level.block.state.BlockState;

@SuppressWarnings("deprecation")
@NothingNullByDefault
public abstract class AbstractBaseEntityBlock extends BaseEntityBlock {
public AbstractBaseEntityBlock(Properties properties) {
super(properties);
}

@Override
public RenderShape getRenderShape(BlockState state) {
return RenderShape.MODEL;
}
}

0 comments on commit fe02f45

Please sign in to comment.