public class MemoryModuleType<U> extends ForgeRegistryEntry<MemoryModuleType<?>>
delegate
Constructor and Description |
---|
MemoryModuleType(java.util.Optional<java.util.function.Function<com.mojang.datafixers.Dynamic<?>,U>> p_i50306_1_) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.util.function.Function<com.mojang.datafixers.Dynamic<?>,U>> |
getDeserializer() |
private static <U> MemoryModuleType<U> |
register(java.lang.String p_223541_0_) |
private static <U extends IDynamicSerializable> |
register(java.lang.String key,
java.util.Optional<java.util.function.Function<com.mojang.datafixers.Dynamic<?>,U>> p_220937_1_) |
java.lang.String |
toString() |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final MemoryModuleType<java.lang.Void> DUMMY
public static final MemoryModuleType<GlobalPos> HOME
public static final MemoryModuleType<GlobalPos> JOB_SITE
public static final MemoryModuleType<GlobalPos> MEETING_POINT
public static final MemoryModuleType<java.util.List<GlobalPos>> SECONDARY_JOB_SITE
public static final MemoryModuleType<java.util.List<LivingEntity>> MOBS
public static final MemoryModuleType<java.util.List<LivingEntity>> VISIBLE_MOBS
public static final MemoryModuleType<java.util.List<LivingEntity>> VISIBLE_VILLAGER_BABIES
public static final MemoryModuleType<java.util.List<PlayerEntity>> NEAREST_PLAYERS
public static final MemoryModuleType<PlayerEntity> NEAREST_VISIBLE_PLAYER
public static final MemoryModuleType<WalkTarget> WALK_TARGET
public static final MemoryModuleType<IPosWrapper> LOOK_TARGET
public static final MemoryModuleType<LivingEntity> INTERACTION_TARGET
public static final MemoryModuleType<VillagerEntity> BREED_TARGET
public static final MemoryModuleType<Path> PATH
public static final MemoryModuleType<java.util.List<GlobalPos>> INTERACTABLE_DOORS
public static final MemoryModuleType<java.util.Set<GlobalPos>> field_225462_q
public static final MemoryModuleType<BlockPos> NEAREST_BED
public static final MemoryModuleType<DamageSource> HURT_BY
public static final MemoryModuleType<LivingEntity> HURT_BY_ENTITY
public static final MemoryModuleType<LivingEntity> NEAREST_HOSTILE
public static final MemoryModuleType<GlobalPos> HIDING_PLACE
public static final MemoryModuleType<java.lang.Long> HEARD_BELL_TIME
public static final MemoryModuleType<java.lang.Long> CANT_REACH_WALK_TARGET_SINCE
public static final MemoryModuleType<java.lang.Long> GOLEM_LAST_SEEN_TIME
public static final MemoryModuleType<LongSerializable> LAST_SLEPT
public static final MemoryModuleType<LongSerializable> field_226332_A_
public static final MemoryModuleType<LongSerializable> LAST_WORKED_AT_POI
private final java.util.Optional<java.util.function.Function<com.mojang.datafixers.Dynamic<?>,U>> deserializer
public MemoryModuleType(java.util.Optional<java.util.function.Function<com.mojang.datafixers.Dynamic<?>,U>> p_i50306_1_)
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Optional<java.util.function.Function<com.mojang.datafixers.Dynamic<?>,U>> getDeserializer()
private static <U extends IDynamicSerializable> MemoryModuleType<U> register(java.lang.String key, java.util.Optional<java.util.function.Function<com.mojang.datafixers.Dynamic<?>,U>> p_220937_1_)
private static <U> MemoryModuleType<U> register(java.lang.String p_223541_0_)