当前位置: 首页>>代码示例>>Java>>正文


Java PaintingDirection类代码示例

本文整理汇总了Java中net.minecraft.util.datafix.fixes.PaintingDirection的典型用法代码示例。如果您正苦于以下问题:Java PaintingDirection类的具体用法?Java PaintingDirection怎么用?Java PaintingDirection使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


PaintingDirection类属于net.minecraft.util.datafix.fixes包,在下文中一共展示了PaintingDirection类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: registerFixes

import net.minecraft.util.datafix.fixes.PaintingDirection; //导入依赖的package包/类
private static void registerFixes(DataFixer fixer)
{
    fixer.registerFix(FixTypes.ENTITY, new EntityArmorAndHeld());
    fixer.registerFix(FixTypes.BLOCK_ENTITY, new SignStrictJSON());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new ItemIntIDToString());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new PotionItems());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new SpawnEggNames());
    fixer.registerFix(FixTypes.ENTITY, new MinecartEntityTypes());
    fixer.registerFix(FixTypes.BLOCK_ENTITY, new SpawnerEntityTypes());
    fixer.registerFix(FixTypes.ENTITY, new StringToUUID());
    fixer.registerFix(FixTypes.ENTITY, new EntityHealth());
    fixer.registerFix(FixTypes.ENTITY, new HorseSaddle());
    fixer.registerFix(FixTypes.ENTITY, new PaintingDirection());
    fixer.registerFix(FixTypes.ENTITY, new RedundantChanceTags());
    fixer.registerFix(FixTypes.ENTITY, new RidingToPassengers());
    fixer.registerFix(FixTypes.ENTITY, new ArmorStandSilent());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new BookPagesStrictJSON());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new CookedFishIDTypo());
    fixer.registerFix(FixTypes.ENTITY, new ZombieProfToType());
    fixer.registerFix(FixTypes.OPTIONS, new ForceVBOOn());
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:22,代码来源:DataFixesManager.java

示例2: registerFixes

import net.minecraft.util.datafix.fixes.PaintingDirection; //导入依赖的package包/类
private static void registerFixes(DataFixer fixer)
{
    fixer.registerFix(FixTypes.ENTITY, new EntityArmorAndHeld());
    fixer.registerFix(FixTypes.BLOCK_ENTITY, new SignStrictJSON());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new ItemIntIDToString());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new PotionItems());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new SpawnEggNames());
    fixer.registerFix(FixTypes.ENTITY, new MinecartEntityTypes());
    fixer.registerFix(FixTypes.BLOCK_ENTITY, new SpawnerEntityTypes());
    fixer.registerFix(FixTypes.ENTITY, new StringToUUID());
    fixer.registerFix(FixTypes.ENTITY, new EntityHealth());
    fixer.registerFix(FixTypes.ENTITY, new HorseSaddle());
    fixer.registerFix(FixTypes.ENTITY, new PaintingDirection());
    fixer.registerFix(FixTypes.ENTITY, new RedundantChanceTags());
    fixer.registerFix(FixTypes.ENTITY, new RidingToPassengers());
    fixer.registerFix(FixTypes.ENTITY, new ArmorStandSilent());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new BookPagesStrictJSON());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new CookedFishIDTypo());
    fixer.registerFix(FixTypes.ENTITY, new ZombieProfToType());
    fixer.registerFix(FixTypes.OPTIONS, new ForceVBOOn());
    fixer.registerFix(FixTypes.ENTITY, new ElderGuardianSplit());
    fixer.registerFix(FixTypes.ENTITY, new SkeletonSplit());
    fixer.registerFix(FixTypes.ENTITY, new ZombieSplit());
    fixer.registerFix(FixTypes.ENTITY, new HorseSplit());
    fixer.registerFix(FixTypes.BLOCK_ENTITY, new TileEntityId());
    fixer.registerFix(FixTypes.ENTITY, new EntityId());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new BannerItemColor());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new PotionWater());
    fixer.registerFix(FixTypes.ENTITY, new ShulkerBoxEntityColor());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new ShulkerBoxItemColor());
    fixer.registerFix(FixTypes.BLOCK_ENTITY, new ShulkerBoxTileColor());
    fixer.registerFix(FixTypes.OPTIONS, new OptionsLowerCaseLanguage());
    fixer.registerFix(FixTypes.ITEM_INSTANCE, new TotemItemRename());
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:35,代码来源:DataFixesManager.java


注:本文中的net.minecraft.util.datafix.fixes.PaintingDirection类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。