@SubscribeEvent public void onBlockPlace(BlockEvent.PlaceEvent event) { if(event.placedBlock.getBlock() instanceof BlockEnchantmentTable) { //event.setCanceled(true); //event.world.setBlockState(event.pos, new IBlockState()) } }
public static void addEnchTable() { ShiftedSnowApi.addSimpleClassMapping(BlockEnchantmentTable.class, EnumSnowType.MINUS_QUARTER); }