SWDTeam Forums

Welcome to the SWDTeam forums. Enjoy your stay!, Thank you for being part of our community!

DM U69 - Addon Changelog V2

Changes for Addon Creators coming with U69

Last Update: 22:04 13/11/2023 GMT+1 BERLIN

 

Events

Interior Events

- Added TardisInteriorEvent.ChangeInteriorPosition -- Gets called when the Interior Position gets changed

- Added TardisInteriorEvent.ChangeInteriorARS -- Gets called when the Interior gets changed with the ARS

 

Exterior Events

- Added TardisExteriorEvent.UnlockChameleon -- Gets called when Player unlocks a Chameleon //Cancelable

 

- Added TardisExteriorEvent.SetChameleon -- Gets called when Tardis changes Chameleon //Cancelable

 

 

Flight Events

- Added TardisPlayerFlightEvent.EnterFlight -- Gets called when Player enters flight //Cancelable

 

- Added TardisPlayerFlightEvent.ExitFlight -- Gets called when Player exits flight //Cancelable

 

Tardis Events

- Added TardisEvent.Mat -- Gets called when Tardis remats //Cancelable

- Added TardisEvent.DeMat -- Gets called when Tardis demats //Cancelable

- Added TardisEvent.MatFinish -- Gets called when Tardis finishes remat //Cancelable

 

- Added TardisEvent.DeMatFinish -- Gets called when Tardis finishes demat //Cancelable

 

- Added TardisEvent.ForceFieldCreation -- Gets called when Tardis should create a ForceField //Cancelable

 

State Detector Events

- Added StateDetectorEvent -- Gets called during State Tick

 

 

Structures

 

- Structures have been changed

- Structures are now ordered in seperate packages

 

Data

Ood

- Ood trading in JSON Format now

 

State Detector

- State Detector jsons inside /data/dalekmod/state_detector

 

Angels

 

- Angel jsons inside /data/dalekmod/angel_variants

- Angels are now json driven

JSON

 

1 {
2 "id": "stone_angel",
3 "general_texture": "dalekmod:entity/weeping_angel/weeping_angel",
4 "chance": 0.9,
5 "ignore_pose_chance": true,
6 "loot_table": "dalekmod:entities/dalek",
7 "spawn_conditions": {
8 "biomes": [
9 "minecraft:plains"
10 ]
11 },
12 "poses": [
13 {
14 "model": "dalekmod:models/angels/default_angel.json",
15 "id": "pose_0"
16 },
17 {
18 "model": "dalekmod:models/angels/default_angel_pose_1.json",
19 "id": "pose_1"
20 },
21 {
22 "model": "dalekmod:models/angels/default_angel_pose_2.json",
23 "id": "pose_2",
24 "texture": "dalekmod:entity/weeping_angel/weeping_angel_alt"
25 },
26 {
27 "model": "dalekmod:models/angels/default_angel_pose_3.json",
28 "id": "pose_3"
29 },
30 {
31 "model": "dalekmod:models/angels/default_angel_pose_4.json",
32 "id": "pose_4"
33 }
34 ]
35 }

Tags

- Added Cyberman Weakness tag

- cyberman_weakness.json

Tardis

 

- Tardisses now have "AddConditions", for example:

JSON

 

1 "add_conditions": {
2 "mods": [
3 "test"
4 ]
5 }

- If this condition is not met, the tardis exterior will not be added

 

Sonic Interactions

 

- Some Sonic Interactions are now data driven

 

Code

Panels

- Tardis Panels can now be indexed using TardisData#getPanels

- Tardis Pnales can also be indexed using their TE id using TardisData#getPanelsById

Java

 

1 for (TardisPanelTileEntity panel : data.getPanels(worldIn)) {
2 System.out.println(panel.getPanelId() + ": " + panel.getBlockPos().toShortString());

ChestLayer

- Added an Interface to render items on the Chest Layer

- Implement the Interface IOnChestLayer

 

Gun/Bullets

- Guns and Bullets have been reworked for U69

- To add a Bullet to an existing Dalek Mod gun use: DMItems.THE_GUN.addBullet(YOUR_BULLET);

- Bullets MUST extend BulletItem

- Bullets can have EntityType Tags, which will deal more damage against the entity; example: Golden Bullets do more against Cybermen

Dalek Statues

- Dalek Statues are now also json driven

- TBD

 

You must be logged in to post.