File Details
CosmicNPCs-1.18.2-1.4.0.jar
- R
- Oct 9, 2022
- 156.25 KB
- 4.3K
- 1.18.2+1
- Forge
File Name
CosmicNPCs-1.18.2-1.4.0.jar
Supported Versions
- 1.18.2
- 1.18.1
Curse Maven Snippet
----------------------------------------------------------------CosmicNPCs 1.18.2-1.4.0 Changelog:----------------------------------------------------------------
* NPC-Names now support JSON-Text. This allows NPCs to have colorful nametags over their head and in chat
* Instead of JSON-Text the "formatterChar", a character which is defined in the config, can also be used. Formatting with it works the same like the '§'-character. The default formatterChar is '$'
+ Added config options to change the default setting values
* The play-back of recordings is now tick-based. This made some new changes possible:
* If the game is paused, the play-back of recordings will now also be paused. This means, NPCs will no longer glitch after unpausing the game
* After leaving and rejoining the world, NPCs will continue with replaying their recordings. No more lifeless NPCs standing around
+ Added new command "/modify-npc"
* Modifies the nbt-data of a NPC who is already in the world
* The arguments are: "/modify-npc <NPCEntity> <setting> <new value>"
- <NPCEntity> is the NPC whose nbt-data is going to be changed. It can be selected with @e or the UUID. An easy way to get the UUID is by looking at the NPC while typing the command.
-While being in a recording, @s can also be used as a selector. In the moment of recording it will select the player, but once the recording is playing, the NPC will execute the command on itself. This makes it possible for NPCs to change their own nbt-data while replaying
- <setting> is the data which will be changed. It can be one of the following: "name", "texture", "model", "settings", "data", "nbt". The first three are self-explanatory. "settings" are the settings like they are used in the /npc-play command. "data" is additional data for the play-back. "nbt" changes the nbt-data as a whole. With this, things like the name, texture, model, settings etc. can be changed at the same time with one single command.
- <new value> is the new value which will be assigned. Thus the new name, texture etc.
+ Added new command "/ccap generate-json <rec-file>"
* Generates a JSON file for additional options which includes all the chat messages and commands of the rec file
* The file can be opened with a text editior and changing the entrys (and setting "overwrite" to "true") will overwrite them ingame. This makes it possible to change chat messages and commands after the file has already been recorded. Even new chat messages can be created.
* It's located inside the recordings folder
+ Added many new settings
- (Boolean) "PickupItems" Determines if the NPC can pickup items
- (Int) "Health" Determines the maximum health points
- (String) "Tag" Adds a tag, so it can be selected with commands easier
- (Boolean) "Loop" If true, the NPC repeats the play-back after finishing it
- (Boolean) "ShouldPersist" Determines if the NPC should stay in the world after finishing a play-back
- (String) "ChatPrefix" Determines the prefix of chat messages send by the npc. Default: <%s>
- (Boolean) "CanDrown" Determines if the NPC can drown
- (CompoundTag) "EntityData" Contains the nbt-data of the model entity. With this, the profession of a villager model can be changed, or the size of a slime, or the type of an axolotl etc. To see what exactly can be inserted here see https://minecraft.fandom.com/wiki/Entity_format
- (Boolean) "FireDamage" Determines if the NPC takes damage from fire or lava
- (Boolean) "WaterSensitive" Determines if the NPC takes damage from water or rain
- (Boolean) "FallDamage" Determines if the NPC can take fall damage
-- Some settings were removed because they are no longer needed thanks to the "EntityData" setting:
-- "VillagerType" setting has been removed
-- "Profession" setting has been removed
-- "ProfessionLevel" setting has been removed
-- "Sheared" setting has been removed
-- "Saddled" setting has been removed
+ Added REPLAY_DATA NBT-Tag
* Contains the play-back data:
- (Int) "ReplaysCompleted" Counts the completed play-backs
- (Int) "TimelinePos" The position on the timeline (in ticks) at which point the NPC currently is. If the value is changed the NPC jumps to the new point on the timeline
- (String) "CurrentReplay" The name of the currently playing record file
- (String) "NextReplay" The name of the record file which will be played next. With this, a additional record file can be chained up which will be executed after the current file has been finished
* Record files
* The location where record files are saved is now at /saves/<world folder>/cosmicnpcs/recordings
* Thereby only record files which were recorded in the same world can be played now
* Between the record files folder and the record files themselfs can now be additional folders in-between
* /npc-rec command
* the file name argument can now have single quotation marks. Thereby it's now possible to create subfolders using '/'. For example: /npc-rec 'villager/humanoid/steve' creates a subfolder called "villager" which contains another subfolder called "humanoid", in which the record file "steve.ccap" will be saved.
* Improved NPC-Models
* Enderman can now hold blocks
* Axolotls are now animated
* All mobs which create particles do this now also if they are used as a NPC-Model
* Some other Mob models could also work better now
* All commands added by this mod now need permission level 2. In other words cheats must be active or the player needs to be an operator
* NPCs now only have permission level 2 for executing commands. Thus they can no longer execute operator commands like /kick
* BUG FIXES
- If the player has died while inside a recording, the player-name wasn't correctly displayed in the then appearing chat message
- The game crashed when trying to use the use command hotkey again after the last command of the command gui at page 99 has already been executed.

