Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Determines the amount of enchanting power this block can provide to an enchanting table.
- * @param world The World
- * @param pos Block position in world
- * @return The amount of enchanting power this block produces.
- */
- public float getEnchantPowerBonus(World world, BlockPos pos)
- {
- return this == net.minecraft.init.Blocks.BOOKSHELF ? 1 : 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement