當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。