2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_1299 net/minecraft/entity/EntityType
|
|
|
|
FIELD field_16526 lootTableId Lnet/minecraft/class_2960;
|
|
|
|
FIELD field_18070 dimensions Lnet/minecraft/class_4048;
|
|
|
|
FIELD field_18981 fireImmune Z
|
2020-01-03 15:52:07 -05:00
|
|
|
FIELD field_19423 spawnableFarFromPlayer Z
|
2020-04-30 06:32:20 -04:00
|
|
|
FIELD field_24085 maxTrackDistance I
|
|
|
|
FIELD field_24086 trackTickInterval I
|
2020-07-20 11:10:42 -04:00
|
|
|
FIELD field_25355 canSpawnInside Lcom/google/common/collect/ImmutableSet;
|
2021-04-02 07:59:05 -04:00
|
|
|
FIELD field_30053 ENTITY_TAG_KEY Ljava/lang/String;
|
2022-02-10 13:47:38 -05:00
|
|
|
FIELD field_36398 registryEntry Lnet/minecraft/class_6880$class_6883;
|
2022-10-22 13:22:54 -04:00
|
|
|
FIELD field_40115 requiredFeatures Lnet/minecraft/class_7699;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_6056 saveable Z
|
|
|
|
FIELD field_6072 summonable Z
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_6088 LOGGER Lorg/slf4j/Logger;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_6092 name Lnet/minecraft/class_2561;
|
2020-05-06 16:53:25 -04:00
|
|
|
FIELD field_6094 spawnGroup Lnet/minecraft/class_1311;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_6101 factory Lnet/minecraft/class_1299$class_4049;
|
|
|
|
FIELD field_6106 translationKey Ljava/lang/String;
|
2023-02-15 11:19:06 -05:00
|
|
|
METHOD <init> (Lnet/minecraft/class_1299$class_4049;Lnet/minecraft/class_1311;ZZZZLcom/google/common/collect/ImmutableSet;Lnet/minecraft/class_4048;IILnet/minecraft/class_7699;)V
|
2022-02-10 13:47:38 -05:00
|
|
|
ARG 1 factory
|
2020-05-06 16:53:25 -04:00
|
|
|
ARG 2 spawnGroup
|
2020-03-30 05:10:03 -04:00
|
|
|
ARG 3 saveable
|
2019-08-25 11:18:10 -04:00
|
|
|
ARG 4 summonable
|
|
|
|
ARG 5 fireImmune
|
2020-01-03 15:52:07 -05:00
|
|
|
ARG 6 spawnableFarFromPlayer
|
2021-01-25 13:28:38 -05:00
|
|
|
ARG 7 canSpawnInside
|
|
|
|
ARG 8 dimensions
|
|
|
|
ARG 9 maxTrackDistance
|
|
|
|
ARG 10 trackTickInterval
|
2023-02-17 02:09:31 -05:00
|
|
|
ARG 11 requiredFeatures
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_16351 getLootTableId ()Lnet/minecraft/class_2960;
|
|
|
|
METHOD method_17683 createSimpleBoundingBox (DDD)Lnet/minecraft/class_238;
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 1 feetX
|
|
|
|
ARG 3 feetY
|
|
|
|
ARG 5 feetZ
|
2021-02-17 13:16:46 -05:00
|
|
|
METHOD method_17684 fromNbt (Lnet/minecraft/class_2487;)Ljava/util/Optional;
|
2021-04-02 17:03:30 -04:00
|
|
|
ARG 0 nbt
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_17685 getWidth ()F
|
|
|
|
METHOD method_17686 getHeight ()F
|
2021-11-22 10:28:47 -05:00
|
|
|
METHOD method_17839 (Lnet/minecraft/class_2487;Lnet/minecraft/class_1297;)V
|
|
|
|
ARG 1 entity
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_17842 loadEntityWithPassengers (Lnet/minecraft/class_2487;Lnet/minecraft/class_1937;Ljava/util/function/Function;)Lnet/minecraft/class_1297;
|
2021-04-02 17:03:30 -04:00
|
|
|
ARG 0 nbt
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 1 world
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 2 entityProcessor
|
2021-06-06 10:21:56 -04:00
|
|
|
METHOD method_17843 (Lnet/minecraft/class_2487;Lnet/minecraft/class_1937;Ljava/util/function/Function;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1297;
|
|
|
|
ARG 3 entity
|
2021-11-22 10:28:47 -05:00
|
|
|
METHOD method_17846 (Lnet/minecraft/class_1937;Lnet/minecraft/class_1299;)Lnet/minecraft/class_1297;
|
|
|
|
ARG 1 entityType
|
2021-02-17 13:16:46 -05:00
|
|
|
METHOD method_17848 loadEntityFromNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_1937;)Ljava/util/Optional;
|
2021-04-02 17:03:30 -04:00
|
|
|
ARG 0 nbt
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 1 world
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18386 getDimensions ()Lnet/minecraft/class_4048;
|
|
|
|
METHOD method_18387 getMaxTrackDistance ()I
|
2020-04-30 06:32:20 -04:00
|
|
|
COMMENT Returns the tracking distance, <b>in chunks</b>, of this type of entity
|
|
|
|
COMMENT for clients. This will be then modified by the server's tracking
|
|
|
|
COMMENT distance multiplier.
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18388 getTrackTickInterval ()I
|
|
|
|
METHOD method_18389 alwaysUpdateVelocity ()Z
|
|
|
|
METHOD method_19946 isFireImmune ()Z
|
2022-02-09 13:58:35 -05:00
|
|
|
METHOD method_20210 isIn (Lnet/minecraft/class_6862;)Z
|
2022-02-10 13:47:38 -05:00
|
|
|
ARG 1 tag
|
2019-10-03 08:18:51 -04:00
|
|
|
METHOD method_20814 isSpawnableFarFromPlayer ()Z
|
2020-07-20 11:10:42 -04:00
|
|
|
METHOD method_29496 isInvalidSpawn (Lnet/minecraft/class_2680;)Z
|
|
|
|
COMMENT Returns whether the EntityType can spawn inside the given block.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>By default, non-fire-immune mobs can't spawn in/on blocks dealing fire damage.
|
|
|
|
COMMENT Any mob can't spawn in wither roses, sweet berry bush, or cacti.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>This can be overwritten via {@link EntityType.Builder#allowSpawningInside(Block[])}
|
2020-12-31 09:22:27 -05:00
|
|
|
ARG 1 state
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31489 streamFromNbt (Ljava/util/List;Lnet/minecraft/class_1937;)Ljava/util/stream/Stream;
|
|
|
|
ARG 0 entityNbtList
|
|
|
|
ARG 1 world
|
2021-05-18 11:38:15 -04:00
|
|
|
METHOD method_35050 getUntranslatedName ()Ljava/lang/String;
|
2022-02-10 13:47:38 -05:00
|
|
|
METHOD method_40124 getRegistryEntry ()Lnet/minecraft/class_6880$class_6883;
|
2022-11-22 21:27:12 -05:00
|
|
|
METHOD method_47821 spawn (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_3730;)Lnet/minecraft/class_1297;
|
|
|
|
ARG 1 world
|
|
|
|
ARG 2 pos
|
|
|
|
ARG 3 reason
|
|
|
|
METHOD method_47823 (Lnet/minecraft/class_1297;)V
|
|
|
|
ARG 0 entity
|
2022-12-07 13:17:23 -05:00
|
|
|
METHOD method_48008 (Lnet/minecraft/class_3218;Lnet/minecraft/class_1657;Lnet/minecraft/class_2487;Lnet/minecraft/class_1297;)V
|
|
|
|
ARG 3 entity
|
|
|
|
METHOD method_48009 copier (Lnet/minecraft/class_3218;Lnet/minecraft/class_1799;Lnet/minecraft/class_1657;)Ljava/util/function/Consumer;
|
|
|
|
ARG 0 world
|
|
|
|
ARG 1 stack
|
|
|
|
ARG 2 player
|
|
|
|
METHOD method_48010 (Lnet/minecraft/class_1799;Lnet/minecraft/class_1297;)V
|
|
|
|
ARG 1 entity
|
|
|
|
METHOD method_48011 nbtCopier (Ljava/util/function/Consumer;Lnet/minecraft/class_3218;Lnet/minecraft/class_1799;Lnet/minecraft/class_1657;)Ljava/util/function/Consumer;
|
|
|
|
ARG 0 chained
|
|
|
|
ARG 1 world
|
|
|
|
ARG 2 stack
|
|
|
|
ARG 3 player
|
|
|
|
METHOD method_48012 customNameCopier (Ljava/util/function/Consumer;Lnet/minecraft/class_1799;)Ljava/util/function/Consumer;
|
|
|
|
ARG 0 chained
|
|
|
|
ARG 1 stack
|
|
|
|
METHOD method_48013 (Lnet/minecraft/class_1297;)V
|
|
|
|
ARG 0 entity
|
2023-01-19 23:10:00 -05:00
|
|
|
METHOD method_48156 copier (Ljava/util/function/Consumer;Lnet/minecraft/class_3218;Lnet/minecraft/class_1799;Lnet/minecraft/class_1657;)Ljava/util/function/Consumer;
|
|
|
|
ARG 0 chained
|
|
|
|
ARG 1 world
|
|
|
|
ARG 2 stack
|
|
|
|
ARG 3 player
|
2023-08-09 23:09:04 -04:00
|
|
|
METHOD method_53125 isIn (Lnet/minecraft/class_6885;)Z
|
|
|
|
ARG 1 entityTypeEntryList
|
2021-02-17 13:16:46 -05:00
|
|
|
METHOD method_5881 loadFromEntityNbt (Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_2487;)V
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 0 world
|
|
|
|
ARG 1 player
|
2020-04-30 06:32:20 -04:00
|
|
|
ARG 2 entity
|
2021-04-02 17:03:30 -04:00
|
|
|
ARG 3 itemNbt
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5882 getTranslationKey ()Ljava/lang/String;
|
|
|
|
METHOD method_5883 create (Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 1 world
|
2019-08-28 13:46:02 -04:00
|
|
|
METHOD method_5884 getOriginY (Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;ZLnet/minecraft/class_238;)D
|
2020-04-30 06:32:20 -04:00
|
|
|
ARG 0 world
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 pos
|
2020-01-03 15:52:07 -05:00
|
|
|
ARG 2 invertY
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 3 boundingBox
|
2024-01-31 12:12:25 -05:00
|
|
|
METHOD method_5888 create (Lnet/minecraft/class_3218;Ljava/util/function/Consumer;Lnet/minecraft/class_2338;Lnet/minecraft/class_3730;ZZ)Lnet/minecraft/class_1297;
|
2021-01-22 08:36:31 -05:00
|
|
|
ARG 1 world
|
2024-01-31 22:10:35 -05:00
|
|
|
ARG 2 afterConsumer
|
|
|
|
ARG 3 pos
|
|
|
|
ARG 4 reason
|
|
|
|
ARG 5 alignPosition
|
|
|
|
ARG 6 invertY
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5890 getId (Lnet/minecraft/class_1299;)Lnet/minecraft/class_2960;
|
|
|
|
ARG 0 type
|
2020-05-06 16:53:25 -04:00
|
|
|
METHOD method_5891 getSpawnGroup ()Lnet/minecraft/class_1311;
|
2021-02-17 13:16:46 -05:00
|
|
|
METHOD method_5892 getEntityFromNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_1937;)Ljava/util/Optional;
|
2021-04-02 17:03:30 -04:00
|
|
|
ARG 0 nbt
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 1 world
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5893 isSaveable ()Z
|
2020-07-01 12:44:38 -04:00
|
|
|
METHOD method_5894 spawnFromItemStack (Lnet/minecraft/class_3218;Lnet/minecraft/class_1799;Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3730;ZZ)Lnet/minecraft/class_1297;
|
2021-01-22 08:36:31 -05:00
|
|
|
ARG 1 world
|
2022-11-22 21:27:12 -05:00
|
|
|
ARG 2 stack
|
|
|
|
ARG 3 player
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 4 pos
|
2020-05-06 16:53:25 -04:00
|
|
|
ARG 5 spawnReason
|
2020-01-03 15:52:07 -05:00
|
|
|
ARG 6 alignPosition
|
|
|
|
ARG 7 invertY
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5895 register (Ljava/lang/String;Lnet/minecraft/class_1299$class_1300;)Lnet/minecraft/class_1299;
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 0 id
|
|
|
|
ARG 1 type
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5896 isSummonable ()Z
|
|
|
|
METHOD method_5897 getName ()Lnet/minecraft/class_2561;
|
|
|
|
METHOD method_5898 get (Ljava/lang/String;)Ljava/util/Optional;
|
|
|
|
ARG 0 id
|
2024-01-31 12:12:25 -05:00
|
|
|
METHOD method_5899 spawn (Lnet/minecraft/class_3218;Ljava/util/function/Consumer;Lnet/minecraft/class_2338;Lnet/minecraft/class_3730;ZZ)Lnet/minecraft/class_1297;
|
2021-01-22 08:36:31 -05:00
|
|
|
ARG 1 world
|
2024-01-31 22:10:35 -05:00
|
|
|
ARG 2 afterConsumer
|
|
|
|
ARG 3 pos
|
|
|
|
ARG 4 reason
|
|
|
|
ARG 5 alignPosition
|
|
|
|
ARG 6 invertY
|
2021-11-22 10:28:47 -05:00
|
|
|
CLASS 1
|
2022-05-17 07:53:58 -04:00
|
|
|
METHOD method_31490 (Lnet/minecraft/class_1937;Ljava/util/function/Consumer;Lnet/minecraft/class_2520;)V
|
|
|
|
ARG 2 nbt
|
2021-11-22 10:28:47 -05:00
|
|
|
METHOD method_31491 (Ljava/util/function/Consumer;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1297;
|
|
|
|
ARG 1 entity
|
2022-05-17 07:53:58 -04:00
|
|
|
METHOD tryAdvance (Ljava/util/function/Consumer;)Z
|
|
|
|
ARG 1 action
|
2019-12-02 08:55:18 -05:00
|
|
|
CLASS class_1300 Builder
|
2020-04-30 06:32:20 -04:00
|
|
|
FIELD field_18071 dimensions Lnet/minecraft/class_4048;
|
2019-12-02 08:55:18 -05:00
|
|
|
FIELD field_18982 fireImmune Z
|
2020-01-03 15:52:07 -05:00
|
|
|
FIELD field_19424 spawnableFarFromPlayer Z
|
2020-04-30 06:32:20 -04:00
|
|
|
FIELD field_24087 maxTrackingRange I
|
|
|
|
FIELD field_24088 trackingTickInterval I
|
2020-07-20 11:10:42 -04:00
|
|
|
FIELD field_25356 canSpawnInside Lcom/google/common/collect/ImmutableSet;
|
2022-10-22 13:22:54 -04:00
|
|
|
FIELD field_40117 requiredFeatures Lnet/minecraft/class_7699;
|
2023-12-25 09:37:27 -05:00
|
|
|
FIELD field_47755 attachments Lnet/minecraft/class_9066$class_9067;
|
2019-12-02 08:55:18 -05:00
|
|
|
FIELD field_6148 factory Lnet/minecraft/class_1299$class_4049;
|
2020-05-06 16:53:25 -04:00
|
|
|
FIELD field_6149 spawnGroup Lnet/minecraft/class_1311;
|
2019-12-02 08:55:18 -05:00
|
|
|
FIELD field_6150 summonable Z
|
|
|
|
FIELD field_6151 saveable Z
|
|
|
|
METHOD <init> (Lnet/minecraft/class_1299$class_4049;Lnet/minecraft/class_1311;)V
|
2022-10-22 13:22:54 -04:00
|
|
|
ARG 1 factory
|
2020-05-06 16:53:25 -04:00
|
|
|
ARG 2 spawnGroup
|
2023-12-25 09:37:27 -05:00
|
|
|
METHOD method_17687 dimensions (FF)Lnet/minecraft/class_1299$class_1300;
|
2019-12-02 08:55:18 -05:00
|
|
|
ARG 1 width
|
|
|
|
ARG 2 height
|
|
|
|
METHOD method_19947 makeFireImmune ()Lnet/minecraft/class_1299$class_1300;
|
|
|
|
METHOD method_20815 spawnableFarFromPlayer ()Lnet/minecraft/class_1299$class_1300;
|
2020-04-30 06:32:20 -04:00
|
|
|
METHOD method_27299 maxTrackingRange (I)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 maxTrackingRange
|
|
|
|
METHOD method_27300 trackingTickInterval (I)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 trackingTickInterval
|
2020-07-20 11:10:42 -04:00
|
|
|
METHOD method_29497 allowSpawningInside ([Lnet/minecraft/class_2248;)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
COMMENT Allows this type of entity to spawn inside the given block, bypassing the default
|
|
|
|
COMMENT wither rose, sweet berry bush, cactus, and fire-damage-dealing blocks for
|
|
|
|
COMMENT non-fire-resistant mobs.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>{@code minecraft:prevent_mob_spawning_inside} tag overrides this.
|
|
|
|
COMMENT With this setting, fire resistant mobs can spawn on/in fire damage dealing blocks,
|
|
|
|
COMMENT and wither skeletons can spawn in wither roses. If a block added is not in the default
|
|
|
|
COMMENT blacklist, the addition has no effect.
|
2020-12-31 09:22:27 -05:00
|
|
|
ARG 1 blocks
|
2022-10-22 13:22:54 -04:00
|
|
|
METHOD method_45323 requires ([Lnet/minecraft/class_7696;)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 features
|
2023-12-25 09:37:27 -05:00
|
|
|
METHOD method_55687 eyeHeight (F)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 eyeHeight
|
|
|
|
METHOD method_55688 vehicleAttachment (Lnet/minecraft/class_243;)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 vehicleAttachment
|
|
|
|
METHOD method_55689 passengerAttachments ([F)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 offsetYs
|
|
|
|
METHOD method_55690 passengerAttachments ([Lnet/minecraft/class_243;)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 passengerAttachments
|
|
|
|
METHOD method_55691 vehicleAttachment (F)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 offsetY
|
|
|
|
METHOD method_55692 nameTagAttachment (F)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 offsetY
|
2024-01-19 22:06:56 -05:00
|
|
|
METHOD method_56075 attachment (Lnet/minecraft/class_9064;FFF)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 type
|
|
|
|
ARG 2 offsetX
|
|
|
|
ARG 3 offsetY
|
|
|
|
ARG 4 offsetZ
|
|
|
|
METHOD method_56076 attachment (Lnet/minecraft/class_9064;Lnet/minecraft/class_243;)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 1 type
|
|
|
|
ARG 2 offset
|
2022-05-17 07:53:58 -04:00
|
|
|
METHOD method_5900 (Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
|
|
|
|
ARG 0 type
|
|
|
|
ARG 1 world
|
2019-12-02 08:55:18 -05:00
|
|
|
METHOD method_5901 disableSummon ()Lnet/minecraft/class_1299$class_1300;
|
|
|
|
METHOD method_5902 create (Lnet/minecraft/class_1311;)Lnet/minecraft/class_1299$class_1300;
|
2020-05-06 16:53:25 -04:00
|
|
|
ARG 0 spawnGroup
|
2019-12-02 08:55:18 -05:00
|
|
|
METHOD method_5903 create (Lnet/minecraft/class_1299$class_4049;Lnet/minecraft/class_1311;)Lnet/minecraft/class_1299$class_1300;
|
|
|
|
ARG 0 factory
|
2020-05-06 16:53:25 -04:00
|
|
|
ARG 1 spawnGroup
|
2019-12-02 08:55:18 -05:00
|
|
|
METHOD method_5904 disableSaving ()Lnet/minecraft/class_1299$class_1300;
|
|
|
|
METHOD method_5905 build (Ljava/lang/String;)Lnet/minecraft/class_1299;
|
|
|
|
ARG 1 id
|
|
|
|
CLASS class_4049 EntityFactory
|
|
|
|
METHOD create (Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
|
|
|
|
ARG 1 type
|
|
|
|
ARG 2 world
|