public class SensorType<U extends Sensor<?>> extends ForgeRegistryEntry<SensorType<?>>
Modifier and Type | Field and Description |
---|---|
static SensorType<DummySensor> |
DUMMY |
private java.util.function.Supplier<U> |
field_221006_j |
static SensorType<GolemLastSeenSensor> |
GOLEM_LAST_SEEN |
static SensorType<HurtBySensor> |
HURT_BY |
static SensorType<InteractableDoorsSensor> |
INTERACTABLE_DOORS |
static SensorType<NearestBedSensor> |
NEAREST_BED |
static SensorType<NearestLivingEntitiesSensor> |
NEAREST_LIVING_ENTITIES |
static SensorType<NearestPlayersSensor> |
NEAREST_PLAYERS |
static SensorType<SecondaryPositionSensor> |
SECONDARY_POIS |
static SensorType<VillagerBabiesSensor> |
VILLAGER_BABIES |
static SensorType<VillagerHostilesSensor> |
VILLAGER_HOSTILES |
delegate
Constructor and Description |
---|
SensorType(java.util.function.Supplier<U> p_i51500_1_) |
Modifier and Type | Method and Description |
---|---|
U |
func_220995_a() |
private static <U extends Sensor<?>> |
register(java.lang.String key,
java.util.function.Supplier<U> p_220996_1_) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final SensorType<DummySensor> DUMMY
public static final SensorType<NearestLivingEntitiesSensor> NEAREST_LIVING_ENTITIES
public static final SensorType<NearestPlayersSensor> NEAREST_PLAYERS
public static final SensorType<InteractableDoorsSensor> INTERACTABLE_DOORS
public static final SensorType<NearestBedSensor> NEAREST_BED
public static final SensorType<HurtBySensor> HURT_BY
public static final SensorType<VillagerHostilesSensor> VILLAGER_HOSTILES
public static final SensorType<VillagerBabiesSensor> VILLAGER_BABIES
public static final SensorType<SecondaryPositionSensor> SECONDARY_POIS
public static final SensorType<GolemLastSeenSensor> GOLEM_LAST_SEEN
public SensorType(java.util.function.Supplier<U> p_i51500_1_)
public U func_220995_a()
private static <U extends Sensor<?>> SensorType<U> register(java.lang.String key, java.util.function.Supplier<U> p_220996_1_)