From 585031ab7903e79b0033b1aee141b81d8beb0c16 Mon Sep 17 00:00:00 2001 From: gamma-delta <29877714+gamma-delta@users.noreply.github.com> Date: Fri, 25 Mar 2022 17:57:26 -0500 Subject: [PATCH] EXPLOSIVE RUNES --- src/generated/resources/.cache/cache | 16 + .../hexcasting/blockstates/impetus_look.json | 1300 +++++++++++++++++ .../models/block/impetus_look_dim_down.json | 12 + .../models/block/impetus_look_dim_east.json | 12 + .../models/block/impetus_look_dim_north.json | 12 + .../models/block/impetus_look_dim_south.json | 12 + .../models/block/impetus_look_dim_up.json | 12 + .../models/block/impetus_look_dim_west.json | 12 + .../models/block/impetus_look_lit_down.json | 12 + .../models/block/impetus_look_lit_east.json | 12 + .../models/block/impetus_look_lit_north.json | 12 + .../models/block/impetus_look_lit_south.json | 12 + .../models/block/impetus_look_lit_up.json | 12 + .../models/block/impetus_look_lit_west.json | 12 + .../hexcasting/models/item/impetus_look.json | 3 + .../brainsweep/brainsweep/impetus_look.json | 34 + .../recipes/brainsweep/impetus_look.json | 19 + .../api/circle/BlockAbstractImpetus.java | 4 +- .../circle/BlockEntityAbstractImpetus.java | 2 +- .../hexcasting/common/blocks/HexBlocks.java | 23 +- .../impetuses/BlockEntityLookingImpetus.java | 83 ++ .../impetuses/BlockLookingImpetus.java | 58 + .../hexcasting/common/lib/HexSounds.java | 2 + .../datagen/HexBlockStatesAndModels.java | 1 + .../petrak/hexcasting/datagen/HexRecipes.java | 6 + .../assets/hexcasting/lang/en_us.json | 3 + .../resources/assets/hexcasting/sounds.json | 7 + .../textures/block/impetus/look_dim.png | Bin 0 -> 514 bytes .../textures/block/impetus/look_lit.png | Bin 0 -> 518 bytes .../en_us/entries/greatwork/impetus.json | 5 + 30 files changed, 1704 insertions(+), 6 deletions(-) create mode 100644 src/generated/resources/assets/hexcasting/blockstates/impetus_look.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_down.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_east.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_north.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_south.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_up.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_west.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_down.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_east.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_north.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_south.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_up.json create mode 100644 src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_west.json create mode 100644 src/generated/resources/assets/hexcasting/models/item/impetus_look.json create mode 100644 src/generated/resources/data/hexcasting/advancements/recipes/brainsweep/brainsweep/impetus_look.json create mode 100644 src/generated/resources/data/hexcasting/recipes/brainsweep/impetus_look.json create mode 100644 src/main/java/at/petrak/hexcasting/common/blocks/circles/impetuses/BlockEntityLookingImpetus.java create mode 100644 src/main/java/at/petrak/hexcasting/common/blocks/circles/impetuses/BlockLookingImpetus.java create mode 100644 src/main/resources/assets/hexcasting/textures/block/impetus/look_dim.png create mode 100644 src/main/resources/assets/hexcasting/textures/block/impetus/look_lit.png diff --git a/src/generated/resources/.cache/cache b/src/generated/resources/.cache/cache index b9c25d2d..4df87e21 100644 --- a/src/generated/resources/.cache/cache +++ b/src/generated/resources/.cache/cache @@ -4,6 +4,7 @@ aed50918bad8a7b00cd26e45d67eb509a04c9f6c assets/hexcasting/blockstates/amethyst_ 27cedb7c1bb8fe4bc1c9b0ecb69678999ca08377 assets/hexcasting/blockstates/ancient_scroll_paper.json 080fce1ae9fb8eeb7fc0cb7ad0a2db05b2ca3dc5 assets/hexcasting/blockstates/ancient_scroll_paper_lantern.json 4d62b41c90cb0c5b94697e151c4aad964fb56727 assets/hexcasting/blockstates/empty_impetus.json +9576c8f1813ad7dac658a7438e6ec99faff8748b assets/hexcasting/blockstates/impetus_look.json 8d7c7bfdca1def0205714465422d327dbcc00539 assets/hexcasting/blockstates/impetus_rightclick.json 1c138caef4d5964cba77dc2b5dc3febe28ab65b7 assets/hexcasting/blockstates/scroll_paper.json 77e723163f415795437b810fe87c348c96a989be assets/hexcasting/blockstates/scroll_paper_lantern.json @@ -25,6 +26,18 @@ a9d44cb1769f8b434c842004efff40f511fba98b assets/hexcasting/models/block/empty_im 384ff24868e37611c32237320e5309462a4cde63 assets/hexcasting/models/block/empty_impetus_lit_south.json 2d175aaca651b51d89c935a202af2eb1e4b942c2 assets/hexcasting/models/block/empty_impetus_lit_up.json 04f99f505b02cc09298b6580e0ebaef79071a418 assets/hexcasting/models/block/empty_impetus_lit_west.json +ec77ba9e9f1be4f8830e6e26fe58fbffef0d160a assets/hexcasting/models/block/impetus_look_dim_down.json +094edbbb04c331f61551c59470c7032510235426 assets/hexcasting/models/block/impetus_look_dim_east.json +e60cb9f02d067b79f51525cdb079e007cde87c67 assets/hexcasting/models/block/impetus_look_dim_north.json +7caec1d9feb2a088e383184a97648f117204223b assets/hexcasting/models/block/impetus_look_dim_south.json +256f8eaa7a9bca0155e28439d099ac2f3fb5f5e1 assets/hexcasting/models/block/impetus_look_dim_up.json +395ee54997ad39382c782b250436c774525f9a97 assets/hexcasting/models/block/impetus_look_dim_west.json +6334ad09b5237fa1f2ebc66f8e5827ec422247cc assets/hexcasting/models/block/impetus_look_lit_down.json +99df6242835b3ef057f42c36adf4595479668441 assets/hexcasting/models/block/impetus_look_lit_east.json +407b535a2c45b2b274b98a5fe62b4c306872ed66 assets/hexcasting/models/block/impetus_look_lit_north.json +b74631a641542242f4994274912996bdc0f64396 assets/hexcasting/models/block/impetus_look_lit_south.json +09789fe60836deb078831aad99cdd6edf77a51ad assets/hexcasting/models/block/impetus_look_lit_up.json +cef80ada89d096a55722dabeba0f032b23fc5af8 assets/hexcasting/models/block/impetus_look_lit_west.json 6b7fd1b238fb586bd3d429575d085d801cc0d44f assets/hexcasting/models/block/impetus_rightclick_dim_down.json 803eedcc8f947f0894092b191616a5cb9ffad5c4 assets/hexcasting/models/block/impetus_rightclick_dim_east.json afd49062ada4999442b93c4cc713d525287daa06 assets/hexcasting/models/block/impetus_rightclick_dim_north.json @@ -85,6 +98,7 @@ a6cabea2984ed2b5b0dcd0087c762c9b9892a5fe assets/hexcasting/models/item/focus_pat 44db2dda5b3d2b7d1591804bdaaf5692c2a4cc5f assets/hexcasting/models/item/focus_vec3_sealed.json 5228a94d6ef14d1694551d33646d3b103fdf658b assets/hexcasting/models/item/focus_widget.json 48a791a807603d131cdf8ea16948164006a6dc6f assets/hexcasting/models/item/focus_widget_sealed.json +991af62ccdc4c063321cc7994e0a106a432d1487 assets/hexcasting/models/item/impetus_look.json 199a1c37b3fdb1e7da93408bbe85c5a2222e264e assets/hexcasting/models/item/impetus_rightclick.json 0cdfde8339a08638fd11ce7bef4a0769eb15bcf9 assets/hexcasting/models/item/lens.json 22ec49ee56e2d0d9fca4473f965c64b82d712f79 assets/hexcasting/models/item/patchouli_book.json @@ -138,6 +152,7 @@ b6593ea802a692c29b5032292df31beb84878ad8 data/hexcasting/advancements/aaa_wastef a165e3959b7d0c37bea586d0e94609b483255569 data/hexcasting/advancements/enlightenment.json eb6393ffc79966e4b5983a68157742b78cd12414 data/hexcasting/advancements/opened_eyes.json 7e93886be31c3762a5b70e56a7214d19f64d58a8 data/hexcasting/advancements/recipes/brainsweep/brainsweep/budding_amethyst.json +ed6ce219b2ee65d69ea45a43fb9a71b1f5da88bb data/hexcasting/advancements/recipes/brainsweep/brainsweep/impetus_look.json d225f90cc1e3b8200014106cd2d3bede9c783817 data/hexcasting/advancements/recipes/brainsweep/brainsweep/impetus_rightclick.json 47000a9b5a409038e369dbef156a72ec93cb51db data/hexcasting/advancements/recipes/hexcasting/abacus.json 5a17fa9a1496f5fbedd0362f94a5231e0e5ebbfc data/hexcasting/advancements/recipes/hexcasting/ageing_scroll_paper_lantern.json @@ -225,6 +240,7 @@ e5c835d3866e8f5ecfb03c9e7c2c134a50951d67 data/hexcasting/recipes/amethyst_tiles. 3f9756b2c5137b285c4faa88ab43c4996b6b2bb6 data/hexcasting/recipes/ancient_scroll_paper_lantern.json 6e6e4d01097c10316892e274f33cb0faaf9dc0df data/hexcasting/recipes/artifact.json 2f8404bf839fa109f0eb157704721d5a5734a4e1 data/hexcasting/recipes/brainsweep/budding_amethyst.json +66e750931a0dca143955f182cc3954647d834f9c data/hexcasting/recipes/brainsweep/impetus_look.json 9631f6616c6a63c9e0a9eaa8126e2f116636fab5 data/hexcasting/recipes/brainsweep/impetus_rightclick.json ea32d82fc3f2cb974038c311a3538aae481ea4c0 data/hexcasting/recipes/cypher.json 33fed8fb8e34df026e1eea0df8161c7f842a8648 data/hexcasting/recipes/dye_colorizer_black.json diff --git a/src/generated/resources/assets/hexcasting/blockstates/impetus_look.json b/src/generated/resources/assets/hexcasting/blockstates/impetus_look.json new file mode 100644 index 00000000..4ad42d2d --- /dev/null +++ b/src/generated/resources/assets/hexcasting/blockstates/impetus_look.json @@ -0,0 +1,1300 @@ +{ + "variants": { + "energized=false,facing=down,look_amount=0": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=0": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=0": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=0": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=0": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=0": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=0": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=0": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=0": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=0": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=0": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=0": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=1": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=1": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=1": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=1": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=1": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=1": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=1": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=1": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=1": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=1": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=1": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=1": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=2": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=2": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=2": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=2": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=2": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=2": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=2": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=2": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=2": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=2": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=2": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=2": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=3": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=3": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=3": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=3": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=3": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=3": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=3": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=3": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=3": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=3": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=3": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=3": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=4": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=4": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=4": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=4": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=4": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=4": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=4": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=4": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=4": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=4": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=4": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=4": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=5": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=5": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=5": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=5": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=5": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=5": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=5": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=5": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=5": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=5": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=5": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=5": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=6": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=6": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=6": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=6": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=6": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=6": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=6": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=6": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=6": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=6": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=6": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=6": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=7": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=7": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=7": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=7": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=7": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=7": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=7": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=7": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=7": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=7": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=7": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=7": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=8": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=8": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=8": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=8": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=8": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=8": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=8": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=8": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=8": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=8": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=8": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=8": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=9": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=9": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=9": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=9": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=9": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=9": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=9": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=9": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=9": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=9": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=9": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=9": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=10": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=10": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=10": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=10": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=10": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=10": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=10": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=10": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=10": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=10": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=10": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=10": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=11": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=11": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=11": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=11": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=11": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=11": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=11": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=11": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=11": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=11": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=11": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=11": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=12": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=12": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=12": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=12": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=12": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=12": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=12": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=12": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=12": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=12": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=12": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=12": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=13": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=13": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=13": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=13": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=13": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=13": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=13": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=13": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=13": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=13": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=13": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=13": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=14": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=14": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=14": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=14": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=14": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=14": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=14": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=14": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=14": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=14": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=14": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=14": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=15": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=15": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=15": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=15": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=15": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=15": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=15": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=15": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=15": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=15": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=15": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=15": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=16": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=16": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=16": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=16": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=16": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=16": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=16": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=16": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=16": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=16": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=16": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=16": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=17": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=17": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=17": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=17": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=17": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=17": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=17": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=17": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=17": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=17": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=17": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=17": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=18": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=18": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=18": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=18": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=18": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=18": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=18": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=18": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=18": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=18": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=18": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=18": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=19": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=19": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=19": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=19": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=19": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=19": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=19": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=19": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=19": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=19": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=19": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=19": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=20": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=20": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=20": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=20": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=20": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=20": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=20": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=20": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=20": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=20": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=20": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=20": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=21": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=21": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=21": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=21": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=21": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=21": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=21": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=21": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=21": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=21": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=21": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=21": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=22": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=22": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=22": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=22": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=22": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=22": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=22": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=22": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=22": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=22": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=22": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=22": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=23": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=23": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=23": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=23": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=23": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=23": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=23": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=23": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=23": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=23": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=23": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=23": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=24": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=24": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=24": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=24": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=24": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=24": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=24": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=24": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=24": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=24": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=24": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=24": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=25": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=25": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=25": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=25": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=25": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=25": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=25": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=25": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=25": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=25": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=25": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=25": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=26": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=26": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=26": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=26": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=26": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=26": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=26": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=26": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=26": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=26": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=26": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=26": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=27": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=27": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=27": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=27": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=27": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=27": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=27": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=27": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=27": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=27": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=27": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=27": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=28": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=28": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=28": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=28": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=28": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=28": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=28": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=28": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=28": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=28": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=28": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=28": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=29": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=29": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=29": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=29": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=29": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=29": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=29": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=29": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=29": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=29": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=29": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=29": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=30": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=30": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=30": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=30": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=30": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=30": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=30": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=30": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=30": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=30": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=30": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=30": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=31": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=31": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=31": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=31": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=31": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=31": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=31": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=31": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=31": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=31": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=31": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=31": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=32": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=32": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=32": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=32": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=32": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=32": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=32": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=32": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=32": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=32": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=32": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=32": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=33": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=33": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=33": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=33": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=33": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=33": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=33": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=33": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=33": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=33": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=33": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=33": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=34": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=34": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=34": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=34": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=34": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=34": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=34": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=34": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=34": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=34": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=34": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=34": { + "model": "hexcasting:block/impetus_look_lit_east" + }, + "energized=false,facing=down,look_amount=35": { + "model": "hexcasting:block/impetus_look_dim_down" + }, + "energized=true,facing=down,look_amount=35": { + "model": "hexcasting:block/impetus_look_lit_down" + }, + "energized=false,facing=up,look_amount=35": { + "model": "hexcasting:block/impetus_look_dim_up" + }, + "energized=true,facing=up,look_amount=35": { + "model": "hexcasting:block/impetus_look_lit_up" + }, + "energized=false,facing=north,look_amount=35": { + "model": "hexcasting:block/impetus_look_dim_north" + }, + "energized=true,facing=north,look_amount=35": { + "model": "hexcasting:block/impetus_look_lit_north" + }, + "energized=false,facing=south,look_amount=35": { + "model": "hexcasting:block/impetus_look_dim_south" + }, + "energized=true,facing=south,look_amount=35": { + "model": "hexcasting:block/impetus_look_lit_south" + }, + "energized=false,facing=west,look_amount=35": { + "model": "hexcasting:block/impetus_look_dim_west" + }, + "energized=true,facing=west,look_amount=35": { + "model": "hexcasting:block/impetus_look_lit_west" + }, + "energized=false,facing=east,look_amount=35": { + "model": "hexcasting:block/impetus_look_dim_east" + }, + "energized=true,facing=east,look_amount=35": { + "model": "hexcasting:block/impetus_look_lit_east" + } + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_down.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_down.json new file mode 100644 index 00000000..75961af1 --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_down.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/look_dim", + "up": "hexcasting:block/impetus/back_dim", + "north": "hexcasting:block/impetus/down_dim", + "south": "hexcasting:block/impetus/down_dim", + "east": "hexcasting:block/impetus/down_dim", + "west": "hexcasting:block/impetus/down_dim", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_east.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_east.json new file mode 100644 index 00000000..0faad168 --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_east.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/right_dim", + "up": "hexcasting:block/impetus/right_dim", + "north": "hexcasting:block/impetus/left_dim", + "south": "hexcasting:block/impetus/right_dim", + "east": "hexcasting:block/impetus/look_dim", + "west": "hexcasting:block/impetus/back_dim", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_north.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_north.json new file mode 100644 index 00000000..5195255b --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_north.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/down_dim", + "up": "hexcasting:block/impetus/up_dim", + "north": "hexcasting:block/impetus/look_dim", + "south": "hexcasting:block/impetus/back_dim", + "east": "hexcasting:block/impetus/right_dim", + "west": "hexcasting:block/impetus/left_dim", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_south.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_south.json new file mode 100644 index 00000000..44fe3420 --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_south.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/up_dim", + "up": "hexcasting:block/impetus/down_dim", + "north": "hexcasting:block/impetus/back_dim", + "south": "hexcasting:block/impetus/look_dim", + "east": "hexcasting:block/impetus/left_dim", + "west": "hexcasting:block/impetus/right_dim", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_up.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_up.json new file mode 100644 index 00000000..c5c0e38f --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_up.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/back_dim", + "up": "hexcasting:block/impetus/look_dim", + "north": "hexcasting:block/impetus/up_dim", + "south": "hexcasting:block/impetus/up_dim", + "east": "hexcasting:block/impetus/up_dim", + "west": "hexcasting:block/impetus/up_dim", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_west.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_west.json new file mode 100644 index 00000000..21b3f544 --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_dim_west.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/left_dim", + "up": "hexcasting:block/impetus/left_dim", + "north": "hexcasting:block/impetus/right_dim", + "south": "hexcasting:block/impetus/left_dim", + "east": "hexcasting:block/impetus/back_dim", + "west": "hexcasting:block/impetus/look_dim", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_down.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_down.json new file mode 100644 index 00000000..642c7987 --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_down.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/look_lit", + "up": "hexcasting:block/impetus/back_lit", + "north": "hexcasting:block/impetus/down_lit", + "south": "hexcasting:block/impetus/down_lit", + "east": "hexcasting:block/impetus/down_lit", + "west": "hexcasting:block/impetus/down_lit", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_east.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_east.json new file mode 100644 index 00000000..10e79dcb --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_east.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/right_lit", + "up": "hexcasting:block/impetus/right_lit", + "north": "hexcasting:block/impetus/left_lit", + "south": "hexcasting:block/impetus/right_lit", + "east": "hexcasting:block/impetus/look_lit", + "west": "hexcasting:block/impetus/back_lit", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_north.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_north.json new file mode 100644 index 00000000..6f8dee8d --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_north.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/down_lit", + "up": "hexcasting:block/impetus/up_lit", + "north": "hexcasting:block/impetus/look_lit", + "south": "hexcasting:block/impetus/back_lit", + "east": "hexcasting:block/impetus/right_lit", + "west": "hexcasting:block/impetus/left_lit", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_south.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_south.json new file mode 100644 index 00000000..cd2604f0 --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_south.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/up_lit", + "up": "hexcasting:block/impetus/down_lit", + "north": "hexcasting:block/impetus/back_lit", + "south": "hexcasting:block/impetus/look_lit", + "east": "hexcasting:block/impetus/left_lit", + "west": "hexcasting:block/impetus/right_lit", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_up.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_up.json new file mode 100644 index 00000000..3298cb35 --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_up.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/back_lit", + "up": "hexcasting:block/impetus/look_lit", + "north": "hexcasting:block/impetus/up_lit", + "south": "hexcasting:block/impetus/up_lit", + "east": "hexcasting:block/impetus/up_lit", + "west": "hexcasting:block/impetus/up_lit", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_west.json b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_west.json new file mode 100644 index 00000000..6fd85453 --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/block/impetus_look_lit_west.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "hexcasting:block/impetus/left_lit", + "up": "hexcasting:block/impetus/left_lit", + "north": "hexcasting:block/impetus/right_lit", + "south": "hexcasting:block/impetus/left_lit", + "east": "hexcasting:block/impetus/back_lit", + "west": "hexcasting:block/impetus/look_lit", + "particle": "hexcasting:block/slate" + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/hexcasting/models/item/impetus_look.json b/src/generated/resources/assets/hexcasting/models/item/impetus_look.json new file mode 100644 index 00000000..358a31b5 --- /dev/null +++ b/src/generated/resources/assets/hexcasting/models/item/impetus_look.json @@ -0,0 +1,3 @@ +{ + "parent": "hexcasting:block/impetus_look_dim_east" +} \ No newline at end of file diff --git a/src/generated/resources/data/hexcasting/advancements/recipes/brainsweep/brainsweep/impetus_look.json b/src/generated/resources/data/hexcasting/advancements/recipes/brainsweep/brainsweep/impetus_look.json new file mode 100644 index 00000000..0bf1ed27 --- /dev/null +++ b/src/generated/resources/data/hexcasting/advancements/recipes/brainsweep/brainsweep/impetus_look.json @@ -0,0 +1,34 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "hexcasting:brainsweep/impetus_look" + ] + }, + "criteria": { + "enlightenment": { + "trigger": "hexcasting:overcast", + "conditions": { + "health_used": { + "min": 17.95 + }, + "mojang_i_am_begging_and_crying_please_add_an_entity_health_criterion": { + "min": 0.1, + "max": 2.05 + } + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "hexcasting:brainsweep/impetus_look" + } + } + }, + "requirements": [ + [ + "enlightenment", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/hexcasting/recipes/brainsweep/impetus_look.json b/src/generated/resources/data/hexcasting/recipes/brainsweep/impetus_look.json new file mode 100644 index 00000000..9eb8f47d --- /dev/null +++ b/src/generated/resources/data/hexcasting/recipes/brainsweep/impetus_look.json @@ -0,0 +1,19 @@ +{ + "type": "hexcasting:brainsweep", + "blockIn": { + "type": "block", + "block": "hexcasting:empty_impetus" + }, + "villagerIn": { + "profession": "minecraft:fletcher", + "minLevel": 1 + }, + "result": { + "name": "hexcasting:impetus_look", + "properties": { + "facing": "north", + "energized": "false", + "look_amount": "0" + } + } +} \ No newline at end of file diff --git a/src/main/java/at/petrak/hexcasting/api/circle/BlockAbstractImpetus.java b/src/main/java/at/petrak/hexcasting/api/circle/BlockAbstractImpetus.java index 1ccd194b..660c88b0 100644 --- a/src/main/java/at/petrak/hexcasting/api/circle/BlockAbstractImpetus.java +++ b/src/main/java/at/petrak/hexcasting/api/circle/BlockAbstractImpetus.java @@ -32,7 +32,7 @@ public abstract class BlockAbstractImpetus extends BlockCircleComponent implemen @Override public boolean canEnterFromDirection(Direction enterDir, Direction normalDir, BlockPos pos, BlockState bs, Level world) { - return enterDir != bs.getValue(FACING).getOpposite(); + return enterDir != bs.getValue(FACING); } @Override @@ -57,7 +57,7 @@ public abstract class BlockAbstractImpetus extends BlockCircleComponent implemen @Override public void tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, Random pRandom) { - if (pLevel.getBlockEntity(pPos) instanceof BlockEntityAbstractImpetus tile) { + if (pLevel.getBlockEntity(pPos) instanceof BlockEntityAbstractImpetus tile && pState.getValue(ENERGIZED)) { tile.stepCircle(); } } diff --git a/src/main/java/at/petrak/hexcasting/api/circle/BlockEntityAbstractImpetus.java b/src/main/java/at/petrak/hexcasting/api/circle/BlockEntityAbstractImpetus.java index eb2b3442..255ede79 100644 --- a/src/main/java/at/petrak/hexcasting/api/circle/BlockEntityAbstractImpetus.java +++ b/src/main/java/at/petrak/hexcasting/api/circle/BlockEntityAbstractImpetus.java @@ -95,7 +95,7 @@ public abstract class BlockEntityAbstractImpetus extends PaucalBlockEntity imple this.level.setBlockAndUpdate(this.getBlockPos(), this.getBlockState().setValue(BlockAbstractImpetus.ENERGIZED, true)); - this.setChanged(); + this.stepCircle(); } protected void stepCircle() { diff --git a/src/main/java/at/petrak/hexcasting/common/blocks/HexBlocks.java b/src/main/java/at/petrak/hexcasting/common/blocks/HexBlocks.java index 0698d40b..df96972a 100644 --- a/src/main/java/at/petrak/hexcasting/common/blocks/HexBlocks.java +++ b/src/main/java/at/petrak/hexcasting/common/blocks/HexBlocks.java @@ -5,11 +5,14 @@ import at.petrak.hexcasting.api.circle.BlockAbstractImpetus; import at.petrak.hexcasting.common.blocks.circles.BlockEmptyImpetus; import at.petrak.hexcasting.common.blocks.circles.BlockEntitySlate; import at.petrak.hexcasting.common.blocks.circles.BlockSlate; +import at.petrak.hexcasting.common.blocks.circles.impetuses.BlockEntityLookingImpetus; import at.petrak.hexcasting.common.blocks.circles.impetuses.BlockEntityRightClickImpetus; +import at.petrak.hexcasting.common.blocks.circles.impetuses.BlockLookingImpetus; import at.petrak.hexcasting.common.blocks.circles.impetuses.BlockRightClickImpetus; import at.petrak.hexcasting.common.blocks.decoration.BlockSconce; import at.petrak.hexcasting.common.items.HexItems; import net.minecraft.world.item.BlockItem; +import net.minecraft.world.item.Item; import net.minecraft.world.level.block.*; import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraft.world.level.block.state.BlockBehaviour; @@ -26,7 +29,7 @@ public class HexBlocks { public static final DeferredRegister> BLOCK_ENTITIES = DeferredRegister.create( ForgeRegistries.BLOCK_ENTITIES, HexMod.MOD_ID); - public static final RegistryObject CONJURED = BLOCKS.register("conjured", + public static final RegistryObject CONJURED = blockItem("conjured", () -> new BlockConjured( BlockBehaviour.Properties.of(Material.AMETHYST, MaterialColor.DIAMOND) .sound(SoundType.AMETHYST) @@ -34,7 +37,8 @@ public class HexBlocks { .instabreak() .noOcclusion() .isSuffocating(HexBlocks::never) - .isViewBlocking(HexBlocks::never))); + .isViewBlocking(HexBlocks::never)), + new Item.Properties()); private static BlockBehaviour.Properties slateish() { return BlockBehaviour.Properties @@ -55,10 +59,15 @@ public class HexBlocks { public static final RegistryObject EMPTY_IMPETUS = blockItem("empty_impetus", () -> new BlockEmptyImpetus(slateish())); + public static final RegistryObject IMPETUS_RIGHTCLICK = blockItem( "impetus_rightclick", () -> new BlockRightClickImpetus(slateish() .lightLevel(bs -> bs.getValue(BlockAbstractImpetus.ENERGIZED) ? 15 : 0))); + public static final RegistryObject IMPETUS_LOOK = blockItem( + "impetus_look", + () -> new BlockLookingImpetus(slateish() + .lightLevel(bs -> bs.getValue(BlockAbstractImpetus.ENERGIZED) ? 15 : 0))); // Decoration?! public static final RegistryObject SLATE_BLOCK = blockItem("slate_block", @@ -92,6 +101,9 @@ public class HexBlocks { public static final RegistryObject> IMPETUS_RIGHTCLICK_TILE = BLOCK_ENTITIES.register("impetus_rightclick_tile", () -> BlockEntityType.Builder.of(BlockEntityRightClickImpetus::new, IMPETUS_RIGHTCLICK.get()).build(null)); + public static final RegistryObject> IMPETUS_LOOK_TILE = + BLOCK_ENTITIES.register("impetus_look_tile", + () -> BlockEntityType.Builder.of(BlockEntityLookingImpetus::new, IMPETUS_LOOK.get()).build(null)); private static boolean never(Object... args) { @@ -99,8 +111,13 @@ public class HexBlocks { } private static RegistryObject blockItem(String name, Supplier block) { + return blockItem(name, block, HexItems.props()); + } + + private static RegistryObject blockItem(String name, Supplier block, + Item.Properties props) { var out = BLOCKS.register(name, block); - HexItems.ITEMS.register(name, () -> new BlockItem(out.get(), HexItems.props())); + HexItems.ITEMS.register(name, () -> new BlockItem(out.get(), props)); return out; } diff --git a/src/main/java/at/petrak/hexcasting/common/blocks/circles/impetuses/BlockEntityLookingImpetus.java b/src/main/java/at/petrak/hexcasting/common/blocks/circles/impetuses/BlockEntityLookingImpetus.java new file mode 100644 index 00000000..449c8f5c --- /dev/null +++ b/src/main/java/at/petrak/hexcasting/common/blocks/circles/impetuses/BlockEntityLookingImpetus.java @@ -0,0 +1,83 @@ +package at.petrak.hexcasting.common.blocks.circles.impetuses; + +import at.petrak.hexcasting.api.circle.BlockCircleComponent; +import at.petrak.hexcasting.api.circle.BlockEntityAbstractImpetus; +import at.petrak.hexcasting.common.blocks.HexBlocks; +import at.petrak.hexcasting.common.lib.HexSounds; +import net.minecraft.core.BlockPos; +import net.minecraft.server.level.ServerPlayer; +import net.minecraft.sounds.SoundSource; +import net.minecraft.util.Mth; +import net.minecraft.world.entity.EquipmentSlot; +import net.minecraft.world.level.ClipContext; +import net.minecraft.world.level.Level; +import net.minecraft.world.level.block.Blocks; +import net.minecraft.world.level.block.state.BlockState; +import net.minecraft.world.phys.AABB; +import net.minecraft.world.phys.HitResult; + +public class BlockEntityLookingImpetus extends BlockEntityAbstractImpetus { + public BlockEntityLookingImpetus(BlockPos pWorldPosition, BlockState pBlockState) { + super(HexBlocks.IMPETUS_LOOK_TILE.get(), pWorldPosition, pBlockState); + } + + @Override + public boolean activatorAlwaysInRange() { + return false; + } + + // https://github.com/VazkiiMods/Botania/blob/2607bcd31c4eaeb617f7d1b3ec1c1db08f59add4/Common/src/main/java/vazkii/botania/common/block/tile/TileEnderEye.java#L27 + public static void serverTick(Level level, BlockPos pos, BlockState bs, BlockEntityLookingImpetus self) { + if (bs.getValue(BlockCircleComponent.ENERGIZED)) { + return; + } + + int prevLookAmt = bs.getValue(BlockLookingImpetus.LOOK_AMOUNT); + int range = 20; + var players = level.getEntitiesOfClass(ServerPlayer.class, + new AABB(pos.offset(-range, -range, -range), pos.offset(range, range, range))); + + ServerPlayer looker = null; + for (var player : players) { + // might as well impl this heh + var hat = player.getItemBySlot(EquipmentSlot.HEAD); + // sadly `isEnderMask` requires the enderman + if (!hat.isEmpty() && hat.is(Blocks.CARVED_PUMPKIN.asItem())) { + continue; + } + + var lookEnd = player.getLookAngle().scale(range / 1.5f); // add some slop + var hit = level.clip(new ClipContext( + player.getEyePosition(), + player.getEyePosition().add(lookEnd), + ClipContext.Block.VISUAL, + ClipContext.Fluid.NONE, + player + )); + if (hit.getType() == HitResult.Type.BLOCK && hit.getBlockPos().equals(pos)) { + looker = player; + break; + } + } + + var newLook = Mth.clamp( + prevLookAmt + (looker == null ? -1 : 1), + 0, + BlockLookingImpetus.MAX_LOOK_AMOUNT + ); + if (newLook != prevLookAmt) { + if (newLook == BlockLookingImpetus.MAX_LOOK_AMOUNT) { + level.setBlockAndUpdate(pos, bs.setValue(BlockLookingImpetus.LOOK_AMOUNT, 0)); + self.activateSpellCircle(looker); + } else { + if (newLook % 5 == 1) { + var t = (float) newLook / BlockLookingImpetus.MAX_LOOK_AMOUNT; + var pitch = Mth.lerp(t, 0.5f, 1.2f); + var volume = Mth.lerp(t, 0.2f, 1.2f); + level.playSound(null, pos, HexSounds.IMPETUS_LOOK_TICK.get(), SoundSource.BLOCKS, volume, pitch); + } + level.setBlockAndUpdate(pos, bs.setValue(BlockLookingImpetus.LOOK_AMOUNT, newLook)); + } + } + } +} diff --git a/src/main/java/at/petrak/hexcasting/common/blocks/circles/impetuses/BlockLookingImpetus.java b/src/main/java/at/petrak/hexcasting/common/blocks/circles/impetuses/BlockLookingImpetus.java new file mode 100644 index 00000000..d0db31ca --- /dev/null +++ b/src/main/java/at/petrak/hexcasting/common/blocks/circles/impetuses/BlockLookingImpetus.java @@ -0,0 +1,58 @@ +package at.petrak.hexcasting.common.blocks.circles.impetuses; + +import at.petrak.hexcasting.api.circle.BlockAbstractImpetus; +import at.petrak.hexcasting.common.blocks.HexBlocks; +import net.minecraft.core.BlockPos; +import net.minecraft.core.Direction; +import net.minecraft.world.level.Level; +import net.minecraft.world.level.block.Block; +import net.minecraft.world.level.block.entity.BlockEntity; +import net.minecraft.world.level.block.entity.BlockEntityTicker; +import net.minecraft.world.level.block.entity.BlockEntityType; +import net.minecraft.world.level.block.state.BlockState; +import net.minecraft.world.level.block.state.StateDefinition; +import net.minecraft.world.level.block.state.properties.IntegerProperty; +import org.jetbrains.annotations.Nullable; + +public class BlockLookingImpetus extends BlockAbstractImpetus { + public static final int MAX_LOOK_AMOUNT = 30; + public static final IntegerProperty LOOK_AMOUNT = IntegerProperty.create("look_amount", 0, MAX_LOOK_AMOUNT); + + public BlockLookingImpetus(Properties p_49795_) { + super(p_49795_); + this.registerDefaultState(this.stateDefinition.any() + .setValue(ENERGIZED, false) + .setValue(FACING, Direction.NORTH) + .setValue(LOOK_AMOUNT, 0)); + } + + @Override + protected void createBlockStateDefinition(StateDefinition.Builder builder) { + super.createBlockStateDefinition(builder); + builder.add(LOOK_AMOUNT); + } + + @Nullable + @Override + public BlockEntity newBlockEntity(BlockPos pPos, BlockState pState) { + return new BlockEntityLookingImpetus(pPos, pState); + } + + @Nullable + @Override + public BlockEntityTicker getTicker(Level pLevel, BlockState pState, + BlockEntityType type) { + if (!pLevel.isClientSide) { + return createTickerHelper(type, HexBlocks.IMPETUS_LOOK_TILE.get(), BlockEntityLookingImpetus::serverTick); + } else { + return null; + } + } + + // uegh + @Nullable + protected static BlockEntityTicker createTickerHelper( + BlockEntityType p_152133_, BlockEntityType p_152134_, BlockEntityTicker p_152135_) { + return p_152134_ == p_152133_ ? (BlockEntityTicker) p_152135_ : null; + } +} diff --git a/src/main/java/at/petrak/hexcasting/common/lib/HexSounds.java b/src/main/java/at/petrak/hexcasting/common/lib/HexSounds.java index c8191f06..35046ddd 100644 --- a/src/main/java/at/petrak/hexcasting/common/lib/HexSounds.java +++ b/src/main/java/at/petrak/hexcasting/common/lib/HexSounds.java @@ -29,6 +29,8 @@ public class HexSounds { public static final RegistryObject DUST_SCROLL = sound("scroll.dust"); + public static final RegistryObject IMPETUS_LOOK_TICK = sound("impetus.fletcher.tick"); + private static RegistryObject sound(String name) { return SOUNDS.register(name, () -> new SoundEvent(prefix(name))); } diff --git a/src/main/java/at/petrak/hexcasting/datagen/HexBlockStatesAndModels.java b/src/main/java/at/petrak/hexcasting/datagen/HexBlockStatesAndModels.java index bf19ed1f..849115b1 100644 --- a/src/main/java/at/petrak/hexcasting/datagen/HexBlockStatesAndModels.java +++ b/src/main/java/at/petrak/hexcasting/datagen/HexBlockStatesAndModels.java @@ -40,6 +40,7 @@ public class HexBlockStatesAndModels extends PaucalBlockStateAndModelProvider { }); impetus(HexBlocks.IMPETUS_RIGHTCLICK.get(), "impetus_rightclick", "rightclick"); + impetus(HexBlocks.IMPETUS_LOOK.get(), "impetus_look", "look"); arrowCircleBlock(HexBlocks.EMPTY_IMPETUS.get(), "empty_impetus", modLoc("block/slate"), "impetus/front_empty", "impetus/back_empty", diff --git a/src/main/java/at/petrak/hexcasting/datagen/HexRecipes.java b/src/main/java/at/petrak/hexcasting/datagen/HexRecipes.java index 94e60f49..654df6b5 100644 --- a/src/main/java/at/petrak/hexcasting/datagen/HexRecipes.java +++ b/src/main/java/at/petrak/hexcasting/datagen/HexRecipes.java @@ -229,6 +229,12 @@ public class HexRecipes extends PaucalRecipeProvider { .unlockedBy("enlightenment", enlightenment) .save(recipes, modLoc("brainsweep/impetus_rightclick")); + new BrainsweepRecipeBuilder(StateIngredientHelper.of(HexBlocks.EMPTY_IMPETUS.get()), + new VillagerIngredient(new ResourceLocation("fletcher"), null, 1), + HexBlocks.IMPETUS_LOOK.get().defaultBlockState()) + .unlockedBy("enlightenment", enlightenment) + .save(recipes, modLoc("brainsweep/impetus_look")); + new BrainsweepRecipeBuilder(StateIngredientHelper.of(Blocks.AMETHYST_BLOCK), new VillagerIngredient(null, null, 2), Blocks.BUDDING_AMETHYST.defaultBlockState()) diff --git a/src/main/resources/assets/hexcasting/lang/en_us.json b/src/main/resources/assets/hexcasting/lang/en_us.json index 62363afc..91658c55 100644 --- a/src/main/resources/assets/hexcasting/lang/en_us.json +++ b/src/main/resources/assets/hexcasting/lang/en_us.json @@ -53,6 +53,7 @@ "block.hexcasting.slate.written": "Patterned Slate", "block.hexcasting.empty_impetus": "Empty Impetus", "block.hexcasting.impetus_rightclick": "Toolsmith Impetus", + "block.hexcasting.impetus_look": "Fletcher Impetus", "block.hexcasting.slate_block": "Block of Slate", "block.hexcasting.amethyst_dust_block": "Block of Amethyst Dust", @@ -240,6 +241,7 @@ "hexcasting.subtitles.spellcircle.fail": "Spell circle fizzles out", "hexcasting.subtitles.spellcircle.cast": "Spell circle casts", "hexcasting.subtitles.scroll.dust": "Scroll covers with dust", + "hexcasting.subtitles.impetus.fletcher.tick": "Fletcher Impetus ticks", "hexcasting.landing": "I seem to have discovered a new method of magical arts, in which one draws patterns strange and wild onto a hexagonal grid. It fascinates me. I've decided to start a journal of my thoughts and findings.$(br2)$(l:https://discord.gg/4xxHGYteWk)Discord Server Link/$", @@ -440,6 +442,7 @@ "hexcasting.page.impetus.4": "The solution I aim for, then, is to specialize a mind. Remove it from the tyranny of nerves, clip all outputs but delicate splays of _media-manipulating apparati, cauterize all inputs but the signal to start its work.$(br2)The process of $(action)mindflaying/$ I am now familiar with will do excellently; the mind of a villager is complex enough to do the work, but not so complex as to resist its reformation.", "hexcasting.page.impetus.5": "First, the cradle. Although it does not work as an $(item)Impetus/$, the flow of _media in a circle will only exit out the side pointed to by the arrows. This allows me to change the plane in which the wave flows, for example.", "hexcasting.page.impetus.6": "Then, to transpose the mind. Villagers of different professions will lend different actuation conditions to the resulting $(item)Impetus/$. A Toolsmith's activates on a simple $(k:use).", + "hexcasting.page.impetus.7": "A Fletcher's activates when looked at for a short time.", "_comment": "Patterns", diff --git a/src/main/resources/assets/hexcasting/sounds.json b/src/main/resources/assets/hexcasting/sounds.json index 8a8f44e3..4dfbd2ff 100644 --- a/src/main/resources/assets/hexcasting/sounds.json +++ b/src/main/resources/assets/hexcasting/sounds.json @@ -92,5 +92,12 @@ "minecraft:dig/sand4" ], "subtitle": "hexcasting.subtitles.scroll.dust" + }, + + "impetus.fletcher.tick": { + "sounds": [ + "minecraft:note/hat" + ], + "subtitle": "hexcasting.subtitles.impetus.fletcher.tick" } } \ No newline at end of file diff --git a/src/main/resources/assets/hexcasting/textures/block/impetus/look_dim.png b/src/main/resources/assets/hexcasting/textures/block/impetus/look_dim.png new file mode 100644 index 0000000000000000000000000000000000000000..f17f14f1f2f15dd28425ceea6c30b0096446ee99 GIT binary patch literal 514 zcmV+d0{#7oP)Px$yh%hsR5*=olRZl#Q51%sOrlK)Nf@gHQfw26kVcRYaBXypEo>GG8zF`H1vXo4 zy*5kQG?r6XSnLlFqJ;=r=q4mP>pHhjUT~dq=M* za6OM=p}>2%o)>!q$f!lzu?Rw+m!|~)E9o@3Y@U){W;7nenqL+RG?lrem&s-GtfbQb zOuY#uy^QTxR4cVeqktxqZO2L^0SH1L+p)-H^Dz>wSSS#LzWgLerrw16e>WVQb!pU_ z1fegRRdNlG_EZvptG*t|9E84fAxJb)R7tKMF6rEvY;QOK?EW~VQE$dbfaMT{syZkY zJ;RMTi9`_AZO4+?0lt0u&Uvd1!0Ogl8ueyGT@LX*tBUJ~ONPdbp)rd@5Nl9mo%) z*;anprn@> zg+8P4Ku&lx9>`Tyw=U_hGVp(|=g)KI&+~|)dN@h-H>HN?zZT)S@Bjb+07*qoM6N<$ Ef@;m;Y5)KL literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/hexcasting/textures/block/impetus/look_lit.png b/src/main/resources/assets/hexcasting/textures/block/impetus/look_lit.png new file mode 100644 index 0000000000000000000000000000000000000000..4c9857506cc8b0388ba7b94ea1e202f9e0cda7a5 GIT binary patch literal 518 zcmV+h0{Q)kP)Px$z)3_wR5*=olf7%(P!z>~mX*mEOK6k8L!by8a3O_aytUBKf1p`PGlvY>)9$62 zG9{!#$egJ|w+smsLraE0z6|ORgFpgfWJ?iphhUr`c`r|u&ZztDIp-eTTlw&AZH|IT z9Ag>=|6>xzg>L}5S`4FrG)uT2%m7%ZR;kw-*p`Fm_Y2MUvl*JoY+DZXT7!jZ6@XDZ z#I_v5D8OyDa*YC-P!6M@lmsBn62d5;UTYLcG}AChvqU};B%^r9zv&;2_x9o!A=|YfbqNtMeE>D^EJSxi*0FJ(XqtosdNPx!>g{m5qii?|i z!AWieVLgljIXl4W`)yV>)&cnZahFcJn^OnSO~U}cXicDZdCJL|SIEJ(9Igjf&lv#R z27j6MJm%*nD;w+l{PhEXF9&Y`=)Bm(ZMJe@>t!=nmM0wV?Xz