Java 类net.minecraft.util.datafix.walkers.ItemStackData 实例源码

项目:Backmemed    文件:EntityItem.java   
public static void registerFixesItem(DataFixer fixer)
{
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData(EntityItem.class, new String[] {"Item"}));
}
项目:Backmemed    文件:EntityFireworkRocket.java   
public static void registerFixesFireworkRocket(DataFixer fixer)
{
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData(EntityFireworkRocket.class, new String[] {"FireworksItem"}));
}
项目:Backmemed    文件:EntityItemFrame.java   
public static void registerFixesItemFrame(DataFixer fixer)
{
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData(EntityItemFrame.class, new String[] {"Item"}));
}
项目:Backmemed    文件:EntityPotion.java   
public static void registerFixesPotion(DataFixer fixer)
{
    EntityThrowable.registerFixesThrowable(fixer, "ThrownPotion");
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData(EntityPotion.class, new String[] {"Potion"}));
}
项目:Backmemed    文件:AbstractHorse.java   
public static void func_190683_c(DataFixer p_190683_0_, Class<?> p_190683_1_)
{
    EntityLiving.registerFixesMob(p_190683_0_, p_190683_1_);
    p_190683_0_.registerWalker(FixTypes.ENTITY, new ItemStackData(p_190683_1_, new String[] {"SaddleItem"}));
}
项目:Backmemed    文件:EntityHorse.java   
public static void registerFixesHorse(DataFixer fixer)
{
    AbstractHorse.func_190683_c(fixer, EntityHorse.class);
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData(EntityHorse.class, new String[] {"ArmorItem"}));
}
项目:Backmemed    文件:BlockJukebox.java   
public static void registerFixesJukebox(DataFixer fixer)
{
    fixer.registerWalker(FixTypes.BLOCK_ENTITY, new ItemStackData(BlockJukebox.TileEntityJukebox.class, new String[] {"RecordItem"}));
}
项目:CustomWorldGen    文件:EntityItem.java   
public static void registerFixesItem(DataFixer fixer)
{
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData("Item", new String[] {"Item"}));
}
项目:CustomWorldGen    文件:EntityFireworkRocket.java   
public static void registerFixesFireworkRocket(DataFixer fixer)
{
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData("FireworksRocketEntity", new String[] {"FireworksItem"}));
}
项目:CustomWorldGen    文件:EntityItemFrame.java   
public static void registerFixesItemFrame(DataFixer fixer)
{
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData("ItemFrame", new String[] {"Item"}));
}
项目:CustomWorldGen    文件:EntityPotion.java   
public static void registerFixesPotion(DataFixer fixer)
{
    EntityThrowable.registerFixesThrowable(fixer, "ThrownPotion");
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData("ThrownPotion", new String[] {"Potion"}));
}
项目:CustomWorldGen    文件:EntityHorse.java   
public static void registerFixesHorse(DataFixer fixer)
{
    EntityLiving.registerFixesMob(fixer, "EntityHorse");
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackDataLists("EntityHorse", new String[] {"Items"}));
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData("EntityHorse", new String[] {"ArmorItem", "SaddleItem"}));
}
项目:CustomWorldGen    文件:BlockJukebox.java   
public static void registerFixesJukebox(DataFixer fixer)
{
    fixer.registerWalker(FixTypes.BLOCK_ENTITY, new ItemStackData("RecordPlayer", new String[] {"RecordItem"}));
}
项目:SimpleCorn    文件:MyEntityFireworkRocket.java   
public static void registerFixesFireworkRocket(DataFixer fixer)
{
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData(MyEntityFireworkRocket.class, new String[] {"FireworksItem"}));
}
项目:ExpandedRailsMod    文件:EntityItem.java   
public static void func_189742_a(DataFixer p_189742_0_)
{
    p_189742_0_.registerWalker(FixTypes.ENTITY, new ItemStackData("Item", new String[] {"Item"}));
}
项目:ExpandedRailsMod    文件:EntityFireworkRocket.java   
public static void func_189656_a(DataFixer p_189656_0_)
{
    p_189656_0_.registerWalker(FixTypes.ENTITY, new ItemStackData("FireworksRocketEntity", new String[] {"FireworksItem"}));
}
项目:ExpandedRailsMod    文件:EntityItemFrame.java   
public static void func_189738_a(DataFixer p_189738_0_)
{
    p_189738_0_.registerWalker(FixTypes.ENTITY, new ItemStackData("ItemFrame", new String[] {"Item"}));
}
项目:ExpandedRailsMod    文件:EntityPotion.java   
public static void func_189665_a(DataFixer p_189665_0_)
{
    EntityThrowable.func_189661_a(p_189665_0_, "ThrownPotion");
    p_189665_0_.registerWalker(FixTypes.ENTITY, new ItemStackData("ThrownPotion", new String[] {"Potion"}));
}
项目:ExpandedRailsMod    文件:EntityHorse.java   
public static void func_189803_b(DataFixer p_189803_0_)
{
    EntityLiving.func_189752_a(p_189803_0_, "EntityHorse");
    p_189803_0_.registerWalker(FixTypes.ENTITY, new ItemStackDataLists("EntityHorse", new String[] {"Items"}));
    p_189803_0_.registerWalker(FixTypes.ENTITY, new ItemStackData("EntityHorse", new String[] {"ArmorItem", "SaddleItem"}));
}
项目:ExpandedRailsMod    文件:BlockJukebox.java   
public static void func_189873_a(DataFixer p_189873_0_)
{
    p_189873_0_.registerWalker(FixTypes.BLOCK_ENTITY, new ItemStackData("RecordPlayer", new String[] {"RecordItem"}));
}
项目:OpenBlocks    文件:EntityCartographer.java   
public static void registerFixes(DataFixer fixer) {
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData(EntityCartographer.class, TAG_MAP_ITEM));
}
项目:OpenBlocks    文件:EntityItemProjectile.java   
public static void registerFixes(DataFixer fixer) {
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData(EntityItemProjectile.class, "Item"));
}
项目:OpenBlocks    文件:EntityGoldenEye.java   
public static void registerFixes(DataFixer fixer) {
    fixer.registerWalker(FixTypes.ENTITY, new ItemStackData(EntityGoldenEye.class, TAG_SPAWNING_ITEM));
}