Fixed a Trait where no enchantment effect has been shown after restart. Added beserk trait.

This commit is contained in:
Robert Sosnitzka
2016-12-22 14:54:05 +01:00
parent c0a5d56278
commit 36c425e143
6 changed files with 181 additions and 13 deletions

View File

@@ -0,0 +1,25 @@
package com.sosnitzka.taiga.traits;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import slimeknights.tconstruct.library.traits.AbstractTrait;
public class TraitCarousel extends AbstractTrait {
public static final int TICK = 24;
public TraitCarousel() {
super(TraitCarousel.class.getSimpleName().toLowerCase().substring(5), 0xffcc5511);
}
@Override
public void afterBlockBreak(ItemStack tool, World world, IBlockState state, BlockPos pos, EntityLivingBase player, boolean wasEffective) {
}
}