类 FixProjectileStoredItem
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.FixProjectileStoredItem
public class FixProjectileStoredItem
extends com.mojang.datafixers.DataFix
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static <T> com.mojang.datafixers.Typed
<T> castUnchecked
(com.mojang.datafixers.Typed<?> p_310006_, com.mojang.datafixers.types.Type<T> p_312989_) private static com.mojang.serialization.Dynamic
<?> createItemStack
(com.mojang.serialization.Dynamic<?> p_310249_, String p_312956_) private static <T> com.mojang.datafixers.Typed
<T> fixArrow
(com.mojang.datafixers.Typed<?> p_312190_, com.mojang.datafixers.types.Type<T> p_311775_) private Function
<com.mojang.datafixers.Typed<?>, com.mojang.datafixers.Typed<?>> fixChoice
(String p_312752_, FixProjectileStoredItem.SubFixer<?> p_310778_) private static <T> Function
<com.mojang.datafixers.Typed<?>, com.mojang.datafixers.Typed<?>> fixChoiceCap
(String p_312294_, FixProjectileStoredItem.SubFixer<?> p_310164_, com.mojang.datafixers.types.Type<?> p_310703_, com.mojang.datafixers.types.Type<T> p_312528_) private static <T> com.mojang.datafixers.Typed
<T> fixSpectralArrow
(com.mojang.datafixers.Typed<?> p_311496_, com.mojang.datafixers.types.Type<T> p_311551_) private static String
getArrowType
(com.mojang.serialization.Dynamic<?> p_311918_) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
从类继承的方法 com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
字段详细资料
-
EMPTY_POTION
- 另请参阅:
-
-
构造器详细资料
-
FixProjectileStoredItem
public FixProjectileStoredItem(com.mojang.datafixers.schemas.Schema p_310923_)
-
-
方法详细资料
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- 指定者:
makeRule
在类中com.mojang.datafixers.DataFix
-
fixChoice
private Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>> fixChoice(String p_312752_, FixProjectileStoredItem.SubFixer<?> p_310778_) -
fixChoiceCap
private static <T> Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>> fixChoiceCap(String p_312294_, FixProjectileStoredItem.SubFixer<?> p_310164_, com.mojang.datafixers.types.Type<?> p_310703_, com.mojang.datafixers.types.Type<T> p_312528_) -
fixArrow
private static <T> com.mojang.datafixers.Typed<T> fixArrow(com.mojang.datafixers.Typed<?> p_312190_, com.mojang.datafixers.types.Type<T> p_311775_) -
getArrowType
-
fixSpectralArrow
private static <T> com.mojang.datafixers.Typed<T> fixSpectralArrow(com.mojang.datafixers.Typed<?> p_311496_, com.mojang.datafixers.types.Type<T> p_311551_) -
createItemStack
private static com.mojang.serialization.Dynamic<?> createItemStack(com.mojang.serialization.Dynamic<?> p_310249_, String p_312956_) -
castUnchecked
private static <T> com.mojang.datafixers.Typed<T> castUnchecked(com.mojang.datafixers.Typed<?> p_310006_, com.mojang.datafixers.types.Type<T> p_312989_)
-