SL23W18: Difference between revisions

From ETM
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[SL23W17|◄ SL23W17]] | [[SL23W19|SL23W19 ►]]
[[SL23W17|◄ SL23W17]] | [[SL23W19|SL23W19 ►]]
*'''General: Use Blueprint-System with Rulesets to create GameTest'''
**'''Compare to: https://github.com/microsoft/minecraft-gametests'''
**'''But get rid of nasty javascript'''
**'''We should be able to use our Action-System to run tests easily'''
***'''Allows Sync-Tests'''
***'''Allows Tick-specific tests'''
***'''Allows Async tests'''
***'''Allows Controller rest / websocket testing as well'''
***'''With some modification even allows testing desktop independently of game'''
'''Look at https://github.com/mapstruct/mapstruct'''
*'''Compatible with lombok + easy way to hide fields from existing Dtos maybe?'''
<br />
*'''BlockOptions.StartdirectlyAfterSpawning'''
*'''BlockOptions.RestartFromBeginning'''
*'''BlockOptions.WhenReachedReturnTo -> Variant  || Registers scheduled event after X ticks'''




Line 8: Line 29:
*'''Cleanup/hide/mark screen-options''' '''that do not work correctly/fail'''
*'''Cleanup/hide/mark screen-options''' '''that do not work correctly/fail'''
*'''Make Button/Option-Listing not exceed page/not have scrolling'''
*'''Make Button/Option-Listing not exceed page/not have scrolling'''
*'''Look at https://github.com/mapstruct/mapstruct'''
**
**'''Compatible with lombok + easy way to hide fields from existing Dtos maybe?'''




Line 34: Line 54:
/magic easingpath 47,81,52 66,93,26 10,98,30
/magic easingpath 47,81,52 66,93,26 10,98,30


<br />
<br />Camel


Camel
ChinseledBookshelf
ChinseledBookshelf
HangingSign
HangingSign
WallHangingSign
WallHangingSign
Pose.SITTING
Pose.SITTING


BAMBOO_MOSAIC
BAMBOO_MOSAIC
BAMBOO_BLOCK
BAMBOO_BLOCK
STRIPPED_BAMBOO_BLOCK
STRIPPED_BAMBOO_BLOCK
BAMBOO_SLAB
BAMBOO_SLAB
BAMBOO_MOSAIC_SLAB
BAMBOO_MOSAIC_SLAB
CHISELED_BOOKSHELF
CHISELED_BOOKSHELF
BAMBOO_FENCE
BAMBOO_FENCE
BAMBOO_STAIRS
BAMBOO_STAIRS
BAMBOO_MOSAIC_STAIRS
BAMBOO_MOSAIC_STAIRS
BAMBOO_BUTTON
BAMBOO_BUTTON
BAMBOO_PRESSURE_PLATE
BAMBOO_PRESSURE_PLATE
BAMBOO_DOOR
BAMBOO_DOOR
BAMBOO_TRAPDOOR
BAMBOO_TRAPDOOR
BAMBOO_FENCE_GATE
BAMBOO_FENCE_GATE
BAMBOO_RAFT
BAMBOO_RAFT
BAMBOO_CHEST_RAFT
BAMBOO_CHEST_RAFT


OAK_HANGING_SIGN
OAK_HANGING_SIGN
CAMEL_SPAWN_EGG
CAMEL_SPAWN_EGG
ENDER_DRAGON_SPAWN_EGG
ENDER_DRAGON_SPAWN_EGG
IRON_GOLEM_SPAWN_EGG
IRON_GOLEM_SPAWN_EGG
SNOW_GOLEM_SPAWN_EGG
SNOW_GOLEM_SPAWN_EGG
WITHER_SPAWN_EGG
WITHER_SPAWN_EGG
PIGLIN_HEAD
PIGLIN_HEAD
BAMBOO_WALL_SIGN
BAMBOO_WALL_SIGN
<br /><syntaxhighlight lang="shell">
# Initial Rocket-Ring
flibcmd delete FW_RCircle
flibcmd create FW_RCircle 20 @@raw:/summon firework_rocket {{Loc}} {LifeTime:5,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Colors:[I;16711680]}]}}}}
flibcmd lifetime FW_RCircle 5
flibcmd modmotion FW_RCircle 0.75,-0.15,0 0,36,0
flibcmd modoffsetinitial FW_RCircle 0,2,0
flibcmd repititiontype FW_RCircle Death
flibcmd modglowing FW_RCircle false
flibcmd setdeathcommands FW_RCircle FW_RainbowR:1
# Initial Rocket-Ring2
flibcmd delete FW_RCircle2
flibcmd create FW_RCircle2 20 @@raw:/summon firework_rocket {{Loc}} {LifeTime:5,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Colors:[I;16711680]}]}}}}
flibcmd lifetime FW_RCircle2 5
flibcmd modmotion FW_RCircle2 -0.75,-0.15,0 0,36,0
flibcmd modoffsetinitial FW_RCircle2 0,2,0
flibcmd repititiontype FW_RCircle2 Death
flibcmd modglowing FW_RCircle2 false
# Initial DoubleRing
flibcmd delete FW_RDoubleRing
flibcmd create FW_RDoubleRing 1 @@raw:/summon firework_rocket {{Loc}}  {LifeTime:0}
flibcmd modoffsetinitial FW_RDoubleRing 0,0,0
flibcmd setdeathcommands FW_RDoubleRing FW_RCircle2:1,FW_RCircle:1
# Initial RainbowRocket
flibcmd delete FW_RainbowR
flibcmd create FW_RainbowR 3 @@raw:/summon firework_rocket {{Loc}} {LifeTime:15,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Flight:1,Explosions:[{Type:1,Flicker:1,Colors:[I;16711680],FadeColors:[I;16711680]},{Type:1,Flicker:1,Colors:[I;16748288],FadeColors:[I;16746496]},{Type:1,Flicker:1,Colors:[I;16774400],FadeColors:[I;16769024]},{Type:1,Flicker:1,Colors:[I;3211008],FadeColors:[I;65287]},{Type:1,Flicker:1,Colors:[I;65477],FadeColors:[I;65525]},{Type:1,Flicker:1,Colors:[I;3839],FadeColors:[I;3539199]},{Type:1,Flicker:1,Colors:[I;16711918],FadeColors:[I;16711904]}]}}}}
flibcmd modoffsetinitial FW_RainbowR 0,0,0
flibcmd modmotion FW_RainbowR 0,-1,0 0,0,0
flibcmd lifetime FW_RainbowR 15
flibcmd repititiontype FW_RainbowR Death
/flibrary create fw_DoubleRing1
ftrades create sky3_to_fw_DoubleRing1 sky3,5 fw_DoubleRing1,1
/fplayer addtrade boots3 sky3_to_fw_DoubleRing1
</syntaxhighlight>

Latest revision as of 17:39, 17 May 2023

◄ SL23W17 | SL23W19 ►

  • General: Use Blueprint-System with Rulesets to create GameTest
    • Compare to: https://github.com/microsoft/minecraft-gametests
    • But get rid of nasty javascript
    • We should be able to use our Action-System to run tests easily
      • Allows Sync-Tests
      • Allows Tick-specific tests
      • Allows Async tests
      • Allows Controller rest / websocket testing as well
      • With some modification even allows testing desktop independently of game


Look at https://github.com/mapstruct/mapstruct

  • Compatible with lombok + easy way to hide fields from existing Dtos maybe?


  • BlockOptions.StartdirectlyAfterSpawning
  • BlockOptions.RestartFromBeginning
  • BlockOptions.WhenReachedReturnTo -> Variant || Registers scheduled event after X ticks


  • Hitboxes of Text / Block / Item are partially broken if Quaternionrotation is applied, ignored for now
  • Jumping between Variant-States is not clean, sometimes does not work?; possibly need to delay the packets?
  • Test multiple Blocks in the default-state and create a Stage; test what happens to interaction-entities
    • Does the interaction-entity correctly trigger the sage or fail on triggering the blockmodel as it is not part of a world
  • Cleanup/hide/mark screen-options that do not work correctly/fail
  • Make Button/Option-Listing not exceed page/not have scrolling


Docs cleanup earth:

PiglinBarterEvent

EntityExhaustionEvent (probably spammy?)

SmithItemEvent

PlayerBucketFishEvent

PlayerBucketEntityEvent

ProjectileHitEvent -> Cancellable

/magic easingpath 50,70,50 55,70,55 60,71,57

/magic easingpath 45,73,67 53,72,62 45,75,51

/magic easingpath 45,86,54 50,98,66 10,100,20

/magic easingpath 47,81,52 66,93,26 10,98,30


Camel

ChinseledBookshelf

HangingSign

WallHangingSign

Pose.SITTING

BAMBOO_MOSAIC

BAMBOO_BLOCK

STRIPPED_BAMBOO_BLOCK

BAMBOO_SLAB

BAMBOO_MOSAIC_SLAB

CHISELED_BOOKSHELF

BAMBOO_FENCE

BAMBOO_STAIRS

BAMBOO_MOSAIC_STAIRS

BAMBOO_BUTTON

BAMBOO_PRESSURE_PLATE

BAMBOO_DOOR

BAMBOO_TRAPDOOR

BAMBOO_FENCE_GATE

BAMBOO_RAFT

BAMBOO_CHEST_RAFT

OAK_HANGING_SIGN

CAMEL_SPAWN_EGG

ENDER_DRAGON_SPAWN_EGG

IRON_GOLEM_SPAWN_EGG

SNOW_GOLEM_SPAWN_EGG

WITHER_SPAWN_EGG

PIGLIN_HEAD

BAMBOO_WALL_SIGN


# Initial Rocket-Ring
flibcmd delete FW_RCircle
flibcmd create FW_RCircle 20 @@raw:/summon firework_rocket {{Loc}} {LifeTime:5,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Colors:[I;16711680]}]}}}}
flibcmd lifetime FW_RCircle 5
flibcmd modmotion FW_RCircle 0.75,-0.15,0 0,36,0
flibcmd modoffsetinitial FW_RCircle 0,2,0
flibcmd repititiontype FW_RCircle Death
flibcmd modglowing FW_RCircle false
flibcmd setdeathcommands FW_RCircle FW_RainbowR:1


# Initial Rocket-Ring2
flibcmd delete FW_RCircle2
flibcmd create FW_RCircle2 20 @@raw:/summon firework_rocket {{Loc}} {LifeTime:5,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Colors:[I;16711680]}]}}}}
flibcmd lifetime FW_RCircle2 5
flibcmd modmotion FW_RCircle2 -0.75,-0.15,0 0,36,0
flibcmd modoffsetinitial FW_RCircle2 0,2,0
flibcmd repititiontype FW_RCircle2 Death
flibcmd modglowing FW_RCircle2 false


# Initial DoubleRing
flibcmd delete FW_RDoubleRing
flibcmd create FW_RDoubleRing 1 @@raw:/summon firework_rocket {{Loc}}  {LifeTime:0}
flibcmd modoffsetinitial FW_RDoubleRing 0,0,0
flibcmd setdeathcommands FW_RDoubleRing FW_RCircle2:1,FW_RCircle:1


# Initial RainbowRocket
flibcmd delete FW_RainbowR
flibcmd create FW_RainbowR 3 @@raw:/summon firework_rocket {{Loc}} {LifeTime:15,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Flight:1,Explosions:[{Type:1,Flicker:1,Colors:[I;16711680],FadeColors:[I;16711680]},{Type:1,Flicker:1,Colors:[I;16748288],FadeColors:[I;16746496]},{Type:1,Flicker:1,Colors:[I;16774400],FadeColors:[I;16769024]},{Type:1,Flicker:1,Colors:[I;3211008],FadeColors:[I;65287]},{Type:1,Flicker:1,Colors:[I;65477],FadeColors:[I;65525]},{Type:1,Flicker:1,Colors:[I;3839],FadeColors:[I;3539199]},{Type:1,Flicker:1,Colors:[I;16711918],FadeColors:[I;16711904]}]}}}}
flibcmd modoffsetinitial FW_RainbowR 0,0,0
flibcmd modmotion FW_RainbowR 0,-1,0 0,0,0
flibcmd lifetime FW_RainbowR 15
flibcmd repititiontype FW_RainbowR Death

/flibrary create fw_DoubleRing1
ftrades create sky3_to_fw_DoubleRing1 sky3,5 fw_DoubleRing1,1
/fplayer addtrade boots3 sky3_to_fw_DoubleRing1