Add Nullscape
This commit is contained in:
parent
f0ddf97741
commit
09f7df5eb9
361 changed files with 21675 additions and 2 deletions
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"criteria": {
|
||||
"requirement": {
|
||||
"trigger": "minecraft:enter_block",
|
||||
"conditions": {
|
||||
"player": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"location": {
|
||||
"dimension": "minecraft:the_end"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"block": "minecraft:end_gateway"
|
||||
}
|
||||
}
|
||||
},
|
||||
"rewards": {
|
||||
"function": "nullscape:technical/gateway/rift"
|
||||
}
|
||||
}
|
||||
12
kubejs/data/nullscape/dimension/end_island.json
Normal file
12
kubejs/data/nullscape/dimension/end_island.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"type": "minecraft:the_end",
|
||||
"generator": {
|
||||
"biome_source": {
|
||||
"seed": 0,
|
||||
"type": "minecraft:the_end"
|
||||
},
|
||||
"seed": 0,
|
||||
"settings": "minecraft:end_island",
|
||||
"type": "minecraft:noise"
|
||||
}
|
||||
}
|
||||
8
kubejs/data/nullscape/functions/clocks/main.mcfunction
Normal file
8
kubejs/data/nullscape/functions/clocks/main.mcfunction
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function nullscape:technical/main
|
||||
|
||||
# includes players
|
||||
execute as @e[type=!#nullscape:not_teleportable] run function nullscape:entity/main
|
||||
|
||||
execute as @a at @s run function nullscape:player/main
|
||||
|
||||
schedule function nullscape:clocks/main 1t replace
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
schedule function nullscape:clocks/wait_for_player 1s replace
|
||||
|
||||
execute if entity @r run function nullscape:technical/misc/check_dimension
|
||||
17
kubejs/data/nullscape/functions/entity/main.mcfunction
Normal file
17
kubejs/data/nullscape/functions/entity/main.mcfunction
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# @s: entity thats !#nullscape:not_teleportable
|
||||
#> ticking entity
|
||||
|
||||
scoreboard players add @s ns.dimension_buffer 0
|
||||
scoreboard players operation @s[scores={ns.dimension_buffer=0}] ns.old_dimension = @s ns.dimension
|
||||
|
||||
scoreboard players set @s ns.dimension 1
|
||||
scoreboard players set @s[predicate=nullscape:dim/null_island] ns.dimension 2
|
||||
scoreboard players set @s[predicate=nullscape:dim/the_end] ns.dimension 3
|
||||
|
||||
# if unset, set it before bad stuff happens
|
||||
execute unless score @s ns.old_dimension matches 1.. run scoreboard players operation @s ns.old_dimension = @s ns.dimension
|
||||
|
||||
#> If entity changed dimensions, reroute entity
|
||||
execute unless score @s ns.old_dimension = @s ns.dimension in minecraft:the_end positioned 100 49 0 run function nullscape:technical/dim/route
|
||||
|
||||
scoreboard players remove @s[scores={ns.dimension_buffer=1..}] ns.dimension_buffer 1
|
||||
27
kubejs/data/nullscape/functions/load.mcfunction
Normal file
27
kubejs/data/nullscape/functions/load.mcfunction
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# #minecraft:load via #load:load
|
||||
|
||||
scoreboard players set nullscape load.status 1
|
||||
|
||||
scoreboard objectives add ns.dummy dummy
|
||||
scoreboard objectives add ns.const dummy
|
||||
scoreboard objectives add ns.tar_time dummy
|
||||
scoreboard objectives add ns.use_pearl minecraft.used:minecraft.ender_pearl
|
||||
|
||||
#> dimension num code
|
||||
# 1: normal dimension (minecraft:overworld, minecraft:the_nether)
|
||||
# 2: null island (nullscape:end_island)
|
||||
# 3: nullscape (minecraft:the_end)
|
||||
scoreboard objectives add ns.dimension dummy
|
||||
scoreboard objectives add ns.old_dimension dummy
|
||||
scoreboard objectives add ns.dimension_buffer dummy
|
||||
|
||||
# we have to for proper entity teleporation >:(
|
||||
execute in minecraft:the_end run forceload remove 100 0
|
||||
execute in minecraft:the_end run forceload add 100 0
|
||||
|
||||
execute in nullscape:end_island run forceload remove 100 0
|
||||
execute in nullscape:end_island run forceload add 100 0
|
||||
|
||||
schedule clear nullscape:clocks/main
|
||||
schedule function nullscape:clocks/main 1t replace
|
||||
schedule function nullscape:clocks/wait_for_player 2t replace
|
||||
31
kubejs/data/nullscape/functions/player/main.mcfunction
Normal file
31
kubejs/data/nullscape/functions/player/main.mcfunction
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# from clocks/main
|
||||
# @s: player
|
||||
|
||||
#> tar bog disabled
|
||||
# scoreboard players add @s[predicate=nullscape:tar_bog] ns.tar_time 1
|
||||
|
||||
# execute if entity @s[scores={ns.tar_time=1..}] run function nullscape:player/tar_bog
|
||||
|
||||
# stupid ender pearls
|
||||
execute positioned 96 75 0 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 91 75 29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 77 75 56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 56 75 77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 29 75 91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -0 75 96 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -29 75 91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -56 75 77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -77 75 56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -91 75 29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -95 75 -0 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -91 75 -29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -77 75 -56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -56 75 -77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -29 75 -91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 0 75 -95 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 29 75 -91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 56 75 -77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 77 75 -56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 91 75 -29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5,scores={ns.use_pearl=1..}] run function nullscape:technical/dim/to_nullscape
|
||||
|
||||
scoreboard players set @s ns.use_pearl 0
|
||||
35
kubejs/data/nullscape/functions/player/tar_bog.mcfunction
Normal file
35
kubejs/data/nullscape/functions/player/tar_bog.mcfunction
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# from ./main
|
||||
# @s: player (in tar)
|
||||
|
||||
scoreboard players remove @s[predicate=!nullscape:tar_bog] ns.tar_time 2
|
||||
|
||||
effect give @s[scores={ns.tar_time=8..39}] slowness 1 0
|
||||
effect give @s[scores={ns.tar_time=40..59}] slowness 1 1
|
||||
effect give @s[scores={ns.tar_time=60..79}] slowness 1 2
|
||||
effect give @s[scores={ns.tar_time=80..99}] slowness 1 3
|
||||
effect give @s[scores={ns.tar_time=100..}] slowness 1 4
|
||||
effect give @s[scores={ns.tar_time=80..}] blindness 3 0
|
||||
effect give @s[scores={ns.tar_time=180..220}] wither 1 0
|
||||
effect give @s[scores={ns.tar_time=220..350}] wither 1 1
|
||||
effect give @s[scores={ns.tar_time=350..}] wither 1 2
|
||||
|
||||
execute if entity @s[scores={ns.tar_time=40..},predicate=nullscape:random/5] run playsound minecraft:block.lava.pop player @a[distance=..5] ~ ~ ~ 1 1.0 1
|
||||
execute if entity @s[scores={ns.tar_time=40..},predicate=nullscape:random/2] run playsound minecraft:block.slime_block.place player @a[distance=..5] ~ ~ ~ 1 0.9 1
|
||||
execute if entity @s[scores={ns.tar_time=50..},predicate=nullscape:random/5] run playsound minecraft:block.lava.pop player @a[distance=..5] ~ ~ ~ 1 0.8 1
|
||||
execute if entity @s[scores={ns.tar_time=60..},predicate=nullscape:random/2] run playsound minecraft:block.slime_block.place player @a[distance=..5] ~ ~ ~ 1 0.7 1
|
||||
execute if entity @s[scores={ns.tar_time=70..},predicate=nullscape:random/5] run playsound minecraft:block.lava.pop player @a[distance=..5] ~ ~ ~ 1 0.6 1
|
||||
execute if entity @s[scores={ns.tar_time=80..},predicate=nullscape:random/2] run playsound minecraft:block.slime_block.place player @a[distance=..5] ~ ~ ~ 1 0.5 1
|
||||
execute if entity @s[scores={ns.tar_time=90..},predicate=nullscape:random/5] run playsound minecraft:block.lava.pop player @a[distance=..5] ~ ~ ~ 1 0.4 1
|
||||
execute if entity @s[scores={ns.tar_time=100..},predicate=nullscape:random/2] run playsound minecraft:block.slime_block.place player @a[distance=..5] ~ ~ ~ 1 0.3 1
|
||||
execute if entity @s[scores={ns.tar_time=110..},predicate=nullscape:random/5] run playsound minecraft:block.lava.pop player @a[distance=..5] ~ ~ ~ 1 0.2 1
|
||||
|
||||
execute if entity @s[scores={ns.tar_time=40..},predicate=nullscape:random/10] run particle minecraft:falling_dust black_concrete ~ ~1 ~ 0.5 0.5 0.5 0 2 force
|
||||
execute if entity @s[scores={ns.tar_time=50..},predicate=nullscape:random/10] run particle minecraft:falling_dust black_concrete ~ ~1 ~ 0.6 0.6 0.6 0 2 force
|
||||
execute if entity @s[scores={ns.tar_time=60..},predicate=nullscape:random/10] run particle minecraft:falling_dust black_concrete ~ ~1 ~ 0.7 0.7 0.7 0 2 force
|
||||
execute if entity @s[scores={ns.tar_time=70..},predicate=nullscape:random/10] run particle minecraft:falling_dust black_concrete ~ ~1 ~ 0.8 0.8 0.8 0 2 force
|
||||
execute if entity @s[scores={ns.tar_time=80..},predicate=nullscape:random/10] run particle minecraft:falling_dust black_concrete ~ ~1 ~ 0.8 0.5 0.8 0 2 force
|
||||
execute if entity @s[scores={ns.tar_time=90..},predicate=nullscape:random/10] run particle minecraft:falling_dust black_concrete ~ ~1 ~ 0.5 0.8 0.5 0 2 force
|
||||
execute if entity @s[scores={ns.tar_time=100..},predicate=nullscape:random/10] run particle minecraft:falling_dust black_concrete ~ ~1 ~ 0.5 0.5 0.5 0 2 force
|
||||
execute if entity @s[scores={ns.tar_time=110..},predicate=nullscape:random/10] run particle minecraft:falling_dust black_concrete ~ ~1 ~ 0.5 0.5 0.5 0 2 force
|
||||
execute if entity @s[scores={ns.tar_time=120..},predicate=nullscape:random/10] run particle minecraft:falling_dust black_concrete ~ ~1 ~ 0.5 0.5 0.5 0 2 force
|
||||
execute if entity @s[scores={ns.tar_time=130..},predicate=nullscape:random/10] run particle minecraft:falling_dust black_concrete ~ ~1 ~ 0.5 0.5 0.5 0 2 force
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
# @s: entity just teleported (pos in minecraft:the_end around 100 50 0)
|
||||
#> route entity to correct location
|
||||
|
||||
scoreboard players set @s[scores={ns.dimension_buffer=0}] ns.dimension_buffer 10
|
||||
|
||||
# old dim == overworld/the_nether, etc
|
||||
execute if entity @s[scores={ns.old_dimension=1}, distance=..6] run function nullscape:technical/dim/to_null_island
|
||||
|
||||
# old dim == null_island (fake end island)
|
||||
execute if entity @s[scores={ns.old_dimension=2}, distance=..6] run function nullscape:technical/dim/to_overworld
|
||||
|
||||
execute if entity @s[scores={ns.dimension_buffer=0}] run tellraw @a[tag=ns.admin] ["", {"nbt": "Pos", "entity": "@s", "color": "gold"}, " ", {"nbt": "Dimension", "entity": "@s", "color": "blue"}, " ", {"score": {"name": "@s", "objective": "ns.old_dimension"}, "color": "red"}, " -> ", {"score": {"name": "@s", "objective": "ns.dimension"}, "color": "green"}]
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
# @s: entity (location is worldspawn)
|
||||
#> send entity to the fake end island (nullscape:end_island)
|
||||
|
||||
#say going to null island
|
||||
|
||||
# players go to different coords than entities
|
||||
kill @e[type=ender_pearl,distance=..10]
|
||||
|
||||
execute in nullscape:end_island run tp @s[type=player] 100 49 0
|
||||
execute in nullscape:end_island run tp @s[type=!player] 100.5 50 0.5
|
||||
|
||||
# obby platform
|
||||
execute in nullscape:end_island positioned 100 49 0 run fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:obsidian replace
|
||||
|
||||
# air box
|
||||
execute in nullscape:end_island positioned 100 49 0 run fill ~-2 ~ ~-2 ~2 ~3 ~2 minecraft:air replace minecraft:end_stone
|
||||
|
||||
# prevent double player tp
|
||||
tag @s[type=player] add ns.tpd
|
||||
|
||||
scoreboard players set @s ns.dimension_buffer 0
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
# @s: entity (location is worldspawn)
|
||||
#> send entity to the nullscape (the_end)
|
||||
|
||||
tag @s add ns.self
|
||||
kill @e[type=ender_pearl, distance=..3]
|
||||
|
||||
execute store result score $x ns.dummy run data get entity @s Pos[0] 0.1
|
||||
execute store result score $z ns.dummy run data get entity @s Pos[2] 0.1
|
||||
|
||||
execute unless entity @e[type=marker,tag=ns.teleporter,distance=..20] run summon marker ~ ~ ~ {Tags:['ns.teleporter']}
|
||||
execute as @e[type=marker,tag=ns.teleporter,distance=..1,limit=1] run function nullscape:technical/gateway/marker_teleport
|
||||
|
||||
tag @s remove ns.self
|
||||
|
||||
scoreboard players set @s ns.dimension_buffer 0
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
# @s: entity
|
||||
#> send entity to the overworld
|
||||
|
||||
#say going to overworld
|
||||
|
||||
# this is for players lol
|
||||
execute in minecraft:the_end positioned 100 50 0 run fill ~-2 ~ ~-2 ~2 ~ ~2 minecraft:end_portal replace minecraft:air
|
||||
|
||||
# delete later, must be loaded
|
||||
|
||||
schedule function nullscape:technical/misc/delete_end_portal 2t replace
|
||||
|
||||
scoreboard players set @s ns.dimension_buffer 0
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
# @s: marker (ns.nullscape_gateway)
|
||||
#> reroute entity to place
|
||||
|
||||
# regen structure
|
||||
setblock ~ 50 ~ structure_block{metadata: "", mirror: "NONE", ignoreEntities: 1b, powered: 0b, seed: 0L, author: "Starmute", rotation: "NONE", posX: -6, mode: "LOAD", posY: -11, sizeX: 13, posZ: -6, integrity: 1.0f, showair: 0b, x: 164, name: "nullscape:gateway_platform2", y: 115, z: 61, id: "minecraft:structure_block", sizeY: 20, sizeZ: 13, showboundingbox: 0b}
|
||||
setblock ~ 49 ~ minecraft:redstone_block
|
||||
setblock ~ 50 ~ minecraft:air
|
||||
|
||||
tp @e[tag=ns.self,limit=1] @s
|
||||
|
||||
# flag for later
|
||||
scoreboard players set $found_gateway ns.dummy 1
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
# @s: marker
|
||||
#> positioned recursively
|
||||
#> marker does not tp down, no need
|
||||
|
||||
##tellraw @a ["y: ", {"score":{"name":"$y","objective":"ns.dummy"}}]
|
||||
execute if block ~ ~ ~ #nullscape:solid run tp @s ~ ~ ~
|
||||
|
||||
scoreboard players remove $y ns.dummy 1
|
||||
execute unless block ~ ~ ~ #nullscape:solid if score $y ns.dummy matches -60.. positioned ~ ~-1 ~ run function nullscape:technical/gateway/find_safe_block
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
# @s: marker
|
||||
#> algo for dynamically tping + placing structure
|
||||
|
||||
# store coords into marker
|
||||
execute store result entity @s Pos[0] double 150 run scoreboard players get $x ns.dummy
|
||||
data modify entity @s Pos[1] set value 50.0d
|
||||
execute store result entity @s Pos[2] double 150 run scoreboard players get $z ns.dummy
|
||||
|
||||
# temp forceload so we can edit blocks
|
||||
execute positioned as @s in minecraft:the_end run forceload add ~ ~
|
||||
|
||||
# make new gateway go to existing one..
|
||||
scoreboard players set $found_gateway ns.dummy 0
|
||||
execute positioned as @s in minecraft:the_end as @e[type=marker,tag=ns.nullscape_gateway,distance=..20] at @s run function nullscape:technical/gateway/existing_gateway
|
||||
execute if score $found_gateway ns.dummy matches 0 positioned as @s in minecraft:the_end run function nullscape:technical/gateway/new_gateway
|
||||
|
||||
# unload + cleanup
|
||||
execute positioned as @s in minecraft:the_end run forceload remove ~ ~
|
||||
|
||||
kill @s
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
# @s: marker
|
||||
#> structure
|
||||
|
||||
execute positioned ~ 52 ~ align xyz unless entity @e[type=marker,distance=..20,tag=ns.nullscape_gateway] run summon marker ~0.5 52 ~0.5 {Tags:['ns.nullscape_gateway'],CustomName:'"Nullscape Gateway"'}
|
||||
|
||||
#setblock ~ 50 ~ minecraft:structure_block{mode: "LOAD", posX: -2, posY: -1, posZ: -2, name: "nullscape:gateway_platform", ignoreEntities:1b}
|
||||
|
||||
setblock ~ 50 ~ structure_block{metadata: "", mirror: "NONE", ignoreEntities: 1b, powered: 0b, seed: 0L, author: "Starmute", rotation: "NONE", posX: -6, mode: "LOAD", posY: -11, sizeX: 13, posZ: -6, integrity: 1.0f, showair: 0b, x: 164, name: "nullscape:gateway_platform2", y: 115, z: 61, id: "minecraft:structure_block", sizeY: 20, sizeZ: 13, showboundingbox: 0b}
|
||||
|
||||
setblock ~ 49 ~ minecraft:redstone_block
|
||||
setblock ~ 50 ~ minecraft:air
|
||||
|
||||
tp @e[tag=ns.self,limit=1] @e[type=marker,tag=ns.nullscape_gateway,limit=1,distance=..5]
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
# @s: none, dimension nullscape:end_island
|
||||
#> look at every position and tag and bag
|
||||
|
||||
execute positioned 96 75 0 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 91 75 29 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 77 75 56 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 56 75 77 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 29 75 91 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -1 75 96 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -30 75 91 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -57 75 77 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -78 75 56 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -92 75 29 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -96 75 -1 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -92 75 -30 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -78 75 -57 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -57 75 -78 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -30 75 -92 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 0 75 -96 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 29 75 -92 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 56 75 -78 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 77 75 -57 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 91 75 -30 if block ~ ~ ~ end_gateway if entity @s[distance=..1] run function nullscape:technical/dim/to_nullscape
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
# @s: none, dimension nullscape:end_island
|
||||
#> look at every position and tag and bag
|
||||
|
||||
execute at @s if block ~ ~ ~ end_gateway run tp @p[gamemode=!spectator] @s
|
||||
|
||||
execute positioned 96 75 0 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] 96.5 75.5 0.5
|
||||
execute positioned 91 75 29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] 91.5 75.5 29.5
|
||||
execute positioned 77 75 56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] 77.5 75.5 56.5
|
||||
execute positioned 56 75 77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] 56.5 75.5 77.5
|
||||
execute positioned 29 75 91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] 29.5 75.5 91.5
|
||||
execute positioned -0 75 96 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] -0.5 75.5 96.5
|
||||
execute positioned -29 75 91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] -29.5 75.5 91.5
|
||||
execute positioned -56 75 77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] -56.5 75.5 77.5
|
||||
execute positioned -77 75 56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] -77.5 75.5 56.5
|
||||
execute positioned -91 75 29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] -91.5 75.5 29.5
|
||||
execute positioned -95 75 -0 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] -95.5 75.5 -0.5
|
||||
execute positioned -91 75 -29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] -91.5 75.5 -29.5
|
||||
execute positioned -77 75 -56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] -77.5 75.5 -56.5
|
||||
execute positioned -56 75 -77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] -56.5 75.5 -77.5
|
||||
execute positioned -29 75 -91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] -29.5 75.5 -91.5
|
||||
execute positioned 0 75 -95 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] 0.5 75.5 -95.5
|
||||
execute positioned 29 75 -91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] 29.5 75.5 -91.5
|
||||
execute positioned 56 75 -77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] 56.5 75.5 -77.5
|
||||
execute positioned 77 75 -56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] 77.5 75.5 -56.5
|
||||
execute positioned 91 75 -29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] run tp @p[gamemode=!spectator] 91.5 75.5 -29.5
|
||||
|
||||
execute positioned 96 75 0 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 91 75 29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 77 75 56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 56 75 77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 29 75 91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -0 75 96 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -29 75 91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -56 75 77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -77 75 56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -91 75 29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -95 75 -0 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -91 75 -29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -77 75 -56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -56 75 -77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned -29 75 -91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 0 75 -95 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 29 75 -91 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 56 75 -77 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 77 75 -56 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
execute positioned 91 75 -29 if block ~ ~ ~ end_gateway if entity @s[distance=..2.5] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_nullscape
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
# @s: none, dimension nullscape:end_island
|
||||
#> look at every position and tag and bag
|
||||
|
||||
execute as @e[type=!ender_pearl,y=56,type=!marker,tag=!ns.nullscape_gateway,distance=..1.5] run function nullscape:technical/dim/to_null_island
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
execute at @s if block ~-1 ~ ~ end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~1 ~ ~ end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~ ~ ~1 end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~ ~ ~-1 end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~ ~-1 ~ end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~ ~1 ~ end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~1 ~ ~1 end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~1 ~ ~-1 end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~-1 ~ ~-1 end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~-2 ~ ~ end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~2 ~ ~ end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~ ~ ~2 end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
execute at @s if block ~ ~ ~-2 end_gateway as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# @s: entity (location is worldspawn)
|
||||
#> send entity to the nullscape (the_end)
|
||||
|
||||
#say going to nullscape
|
||||
|
||||
tag @s add ns.self
|
||||
|
||||
execute store result score $x ns.dummy run data get entity @s Pos[0] 0.1
|
||||
execute store result score $z ns.dummy run data get entity @s Pos[2] 0.1
|
||||
|
||||
summon marker ~ ~ ~ {Tags:['ns.teleporter']}
|
||||
execute as @e[type=marker,limit=1,distance=..1,tag=ns.teleporter] run function nullscape:technical/gateway/marker_teleport
|
||||
|
||||
tag @s remove ns.self
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
execute positioned ~ 52 ~ run tag @e[type=marker,distance=..20,tag=ns.nullscape_gateway,limit=1] add ns.no_kill
|
||||
kill @e[type=marker,distance=..20,tag=ns.nullscape_gateway,tag=!ns.no_kill]
|
||||
tag @e[type=marker,distance=..20,tag=ns.nullscape_gateway,limit=1] remove ns.no_kill
|
||||
|
||||
execute positioned ~ 56 ~ if entity @e[type=ender_pearl,distance=..3] as @p[gamemode=!spectator] run function nullscape:technical/dim/to_null_island
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# @s: none, dimension nullscape:end_island
|
||||
#> look at every position and tag and bag
|
||||
|
||||
function nullscape:technical/dim/to_null_island
|
||||
advancement revoke @a only nullscape:technical/enter_gateway
|
||||
21
kubejs/data/nullscape/functions/technical/main.mcfunction
Normal file
21
kubejs/data/nullscape/functions/technical/main.mcfunction
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# from clocks/main
|
||||
#> technical ticking - most things here should be isolated from main logic
|
||||
|
||||
execute as @a[predicate=nullscape:dim/overworld] at @s if block ~ ~ ~ end_portal run function nullscape:technical/dim/to_null_island
|
||||
execute as @a[predicate=nullscape:dim/overworld] at @s if block ~ ~1 ~ end_portal run function nullscape:technical/dim/to_null_island
|
||||
|
||||
|
||||
execute in nullscape:end_island positioned 0 0 0 as @e[distance=0..,type=!#nullscape:not_teleportable] run function nullscape:technical/gateway/null_island_checks
|
||||
execute in nullscape:end_island positioned 0 0 0 as @e[type=ender_pearl,distance=0..] run function nullscape:technical/gateway/null_island_pearl
|
||||
|
||||
#execute in minecraft:the_end positioned 0 0 0 as @e[type=ender_pearl,distance=0..] run function nullscape:technical/gateway/nullscape_pearl
|
||||
|
||||
execute as @e[type=marker,tag=ns.nullscape_gateway] at @s run function nullscape:technical/gateway/nullscape_checks
|
||||
|
||||
execute at @e[type=marker,tag=ns.nullscape_gateway] run function nullscape:technical/gateway/purge_markers
|
||||
|
||||
advancement revoke @a[advancements={nullscape:technical/dim_change=true}] only nullscape:technical/dim_change
|
||||
|
||||
execute in nullscape:end_island positioned 0 0 0 as @a[distance=850..2000] run function nullscape:technical/misc/rubberband
|
||||
|
||||
execute in nullscape:end_island positioned 0 0 0 as @e[type=ender_pearl,distance=850..] run kill @s
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
scoreboard players set $found.dimension ns.dummy 0
|
||||
execute in nullscape:end_island run scoreboard players set $found.dimension ns.dummy 1
|
||||
|
||||
#execute if score $found.dimension ns.dummy matches 1 run tellraw @a [{"text":"N","color":"#6e5980"},{"text":"u","color":"#745a8b"},{"text":"l","color":"#7b5b96"},{"text":"l","color":"#825ca1"},{"text":"s","color":"#895dac"},{"text":"c","color":"#8f5eb7"},{"text":"a","color":"#965fc2"},{"text":"p","color":"#9d60cd"},{"text":"e","color":"#a462d8"}, " - ", {"translate": "Starmute, et. al"}]
|
||||
|
||||
execute unless score $found.dimension ns.dummy matches 1 run tellraw @a [{"text": "Error ", "color": "red", "bold": true}, [{"text":"N","color":"#6e5980", "bold": false},{"text":"u","color":"#745a8b"},{"text":"l","color":"#7b5b96"},{"text":"l","color":"#825ca1"},{"text":"s","color":"#895dac"},{"text":"c","color":"#8f5eb7"},{"text":"a","color":"#965fc2"},{"text":"p","color":"#9d60cd"},{"text":"e","color":"#a462d8"}], {"text": " has ran into an error. Please restart your world or server to properly initialize the nullscape dimension!", "bold": false}]
|
||||
|
||||
schedule clear nullscape:clocks/wait_for_player
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# scheduled function
|
||||
#> remove end portal
|
||||
|
||||
execute in minecraft:the_end positioned 100 48 0 run fill ~-2 ~-2 ~-2 ~2 ~2 ~2 minecraft:air replace minecraft:end_portal
|
||||
|
||||
execute in minecraft:the_end positioned 100 48 0 run fill ~-2 ~-2 ~-2 ~2 ~2 ~2 minecraft:air replace minecraft:obsidian
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# @s: player
|
||||
#> prevent players from bridging out of island
|
||||
|
||||
tp @s 100 50 0
|
||||
playsound minecraft:entity.ender_dragon.growl player @s 100 50 0 1 0.875 1
|
||||
6
kubejs/data/nullscape/predicates/dim/null_island.json
Normal file
6
kubejs/data/nullscape/predicates/dim/null_island.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"dimension": "nullscape:end_island"
|
||||
}
|
||||
}
|
||||
6
kubejs/data/nullscape/predicates/dim/overworld.json
Normal file
6
kubejs/data/nullscape/predicates/dim/overworld.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"dimension": "minecraft:overworld"
|
||||
}
|
||||
}
|
||||
6
kubejs/data/nullscape/predicates/dim/the_end.json
Normal file
6
kubejs/data/nullscape/predicates/dim/the_end.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"dimension": "minecraft:the_end"
|
||||
}
|
||||
}
|
||||
6
kubejs/data/nullscape/predicates/end.json
Normal file
6
kubejs/data/nullscape/predicates/end.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"dimension": "minecraft:the_end"
|
||||
}
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/0_001.json
Normal file
4
kubejs/data/nullscape/predicates/random/0_001.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.00001
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/0_01.json
Normal file
4
kubejs/data/nullscape/predicates/random/0_01.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.0001
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/0_04.json
Normal file
4
kubejs/data/nullscape/predicates/random/0_04.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.0004
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/0_05.json
Normal file
4
kubejs/data/nullscape/predicates/random/0_05.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.0005
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/0_2.json
Normal file
4
kubejs/data/nullscape/predicates/random/0_2.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.002
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/0_4.json
Normal file
4
kubejs/data/nullscape/predicates/random/0_4.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.004
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/0_5.json
Normal file
4
kubejs/data/nullscape/predicates/random/0_5.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.005
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/1.json
Normal file
4
kubejs/data/nullscape/predicates/random/1.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.01
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/10.json
Normal file
4
kubejs/data/nullscape/predicates/random/10.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.1
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/15.json
Normal file
4
kubejs/data/nullscape/predicates/random/15.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.15
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/2.json
Normal file
4
kubejs/data/nullscape/predicates/random/2.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.02
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/20.json
Normal file
4
kubejs/data/nullscape/predicates/random/20.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.2
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/25.json
Normal file
4
kubejs/data/nullscape/predicates/random/25.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.25
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/30.json
Normal file
4
kubejs/data/nullscape/predicates/random/30.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.3
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/35.json
Normal file
4
kubejs/data/nullscape/predicates/random/35.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.35
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/3_5.json
Normal file
4
kubejs/data/nullscape/predicates/random/3_5.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.035
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/40.json
Normal file
4
kubejs/data/nullscape/predicates/random/40.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.4
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/5.json
Normal file
4
kubejs/data/nullscape/predicates/random/5.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.05
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/50.json
Normal file
4
kubejs/data/nullscape/predicates/random/50.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.5
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/6.json
Normal file
4
kubejs/data/nullscape/predicates/random/6.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.06
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/7.json
Normal file
4
kubejs/data/nullscape/predicates/random/7.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.07
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/70.json
Normal file
4
kubejs/data/nullscape/predicates/random/70.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.7
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/75.json
Normal file
4
kubejs/data/nullscape/predicates/random/75.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.75
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/77.json
Normal file
4
kubejs/data/nullscape/predicates/random/77.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.77
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/8.json
Normal file
4
kubejs/data/nullscape/predicates/random/8.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.08
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/80.json
Normal file
4
kubejs/data/nullscape/predicates/random/80.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.8
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/85.json
Normal file
4
kubejs/data/nullscape/predicates/random/85.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.85
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/87.json
Normal file
4
kubejs/data/nullscape/predicates/random/87.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.87
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/90.json
Normal file
4
kubejs/data/nullscape/predicates/random/90.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.9
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/95.json
Normal file
4
kubejs/data/nullscape/predicates/random/95.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.95
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/96.json
Normal file
4
kubejs/data/nullscape/predicates/random/96.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.96
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/97.json
Normal file
4
kubejs/data/nullscape/predicates/random/97.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.97
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/98.json
Normal file
4
kubejs/data/nullscape/predicates/random/98.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.98
|
||||
}
|
||||
4
kubejs/data/nullscape/predicates/random/99.json
Normal file
4
kubejs/data/nullscape/predicates/random/99.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.99
|
||||
}
|
||||
20
kubejs/data/nullscape/predicates/random/other/1_x.json
Normal file
20
kubejs/data/nullscape/predicates/random/other/1_x.json
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"condition": "minecraft:entity_scores",
|
||||
"entity": "this",
|
||||
"scores": {
|
||||
"in.random": {
|
||||
"min": 1,
|
||||
"max": {
|
||||
"min": 1,
|
||||
"max": {
|
||||
"type": "minecraft:score",
|
||||
"target": {
|
||||
"type": "minecraft:fixed",
|
||||
"name": "$random"
|
||||
},
|
||||
"score": "in.dummy"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
18
kubejs/data/nullscape/predicates/random/other/x.json
Normal file
18
kubejs/data/nullscape/predicates/random/other/x.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"condition": "minecraft:value_check",
|
||||
"value": {
|
||||
"min": 1,
|
||||
"max": 100
|
||||
},
|
||||
"range": {
|
||||
"min": 1,
|
||||
"max": {
|
||||
"type": "minecraft:score",
|
||||
"target": {
|
||||
"type": "minecraft:fixed",
|
||||
"name": "$random"
|
||||
},
|
||||
"score": "in.dummy"
|
||||
}
|
||||
}
|
||||
}
|
||||
6
kubejs/data/nullscape/predicates/riftspace.json
Normal file
6
kubejs/data/nullscape/predicates/riftspace.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "nullscape:riftspace"
|
||||
}
|
||||
}
|
||||
9
kubejs/data/nullscape/predicates/tar_bog.json
Normal file
9
kubejs/data/nullscape/predicates/tar_bog.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "nullscape:tar_bog",
|
||||
"fluid": {
|
||||
"fluid": "minecraft:water"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
kubejs/data/nullscape/structures/destroy1.nbt
Normal file
BIN
kubejs/data/nullscape/structures/destroy1.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/destroy_start.nbt
Normal file
BIN
kubejs/data/nullscape/structures/destroy_start.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/gateway_platform.nbt
Normal file
BIN
kubejs/data/nullscape/structures/gateway_platform.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/gateway_platform2.nbt
Normal file
BIN
kubejs/data/nullscape/structures/gateway_platform2.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/rift/bottom_start.nbt
Normal file
BIN
kubejs/data/nullscape/structures/rift/bottom_start.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/rift/gateway1.nbt
Normal file
BIN
kubejs/data/nullscape/structures/rift/gateway1.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/rift/gateway2.nbt
Normal file
BIN
kubejs/data/nullscape/structures/rift/gateway2.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/rift/gateway3.nbt
Normal file
BIN
kubejs/data/nullscape/structures/rift/gateway3.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/rift/gateway_neutral1.nbt
Normal file
BIN
kubejs/data/nullscape/structures/rift/gateway_neutral1.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/rift/gateway_neutral2.nbt
Normal file
BIN
kubejs/data/nullscape/structures/rift/gateway_neutral2.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/rift/gateway_shadow1.nbt
Normal file
BIN
kubejs/data/nullscape/structures/rift/gateway_shadow1.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/rift/gateway_shadow2.nbt
Normal file
BIN
kubejs/data/nullscape/structures/rift/gateway_shadow2.nbt
Normal file
Binary file not shown.
BIN
kubejs/data/nullscape/structures/rift/start.nbt
Normal file
BIN
kubejs/data/nullscape/structures/rift/start.nbt
Normal file
Binary file not shown.
10
kubejs/data/nullscape/tags/blocks/amethyst_cut.json
Normal file
10
kubejs/data/nullscape/tags/blocks/amethyst_cut.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"end_stone",
|
||||
"dead_fire_coral_block",
|
||||
"dead_tube_coral_block",
|
||||
"dead_horn_coral_block",
|
||||
"dead_bubble_coral_block"
|
||||
]
|
||||
}
|
||||
14
kubejs/data/nullscape/tags/blocks/amethyst_dx.json
Normal file
14
kubejs/data/nullscape/tags/blocks/amethyst_dx.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"amethyst_block",
|
||||
"budding_amethyst",
|
||||
"basalt",
|
||||
"blackstone",
|
||||
"end_stone",
|
||||
"dead_horn_coral_block",
|
||||
"dead_bubble_coral_block",
|
||||
"dead_fire_coral_block",
|
||||
"dead_tube_coral_block"
|
||||
]
|
||||
}
|
||||
6
kubejs/data/nullscape/tags/blocks/brain_coral.json
Normal file
6
kubejs/data/nullscape/tags/blocks/brain_coral.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"dead_brain_coral_block"
|
||||
]
|
||||
}
|
||||
9
kubejs/data/nullscape/tags/blocks/coral.json
Normal file
9
kubejs/data/nullscape/tags/blocks/coral.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"dead_fire_coral_block",
|
||||
"dead_tube_coral_block",
|
||||
"dead_horn_coral_block",
|
||||
"dead_bubble_coral_block"
|
||||
]
|
||||
}
|
||||
10
kubejs/data/nullscape/tags/blocks/crystal_amethyst.json
Normal file
10
kubejs/data/nullscape/tags/blocks/crystal_amethyst.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"blackstone",
|
||||
"end_stone",
|
||||
"obsidian",
|
||||
"crying_obsidian",
|
||||
"amethyst_block"
|
||||
]
|
||||
}
|
||||
9
kubejs/data/nullscape/tags/blocks/crystal_crying.json
Normal file
9
kubejs/data/nullscape/tags/blocks/crystal_crying.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"blackstone",
|
||||
"end_stone",
|
||||
"obsidian",
|
||||
"crying_obsidian"
|
||||
]
|
||||
}
|
||||
8
kubejs/data/nullscape/tags/blocks/crystal_obsidian.json
Normal file
8
kubejs/data/nullscape/tags/blocks/crystal_obsidian.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"blackstone",
|
||||
"end_stone",
|
||||
"obsidian"
|
||||
]
|
||||
}
|
||||
10
kubejs/data/nullscape/tags/blocks/dead_corals.json
Normal file
10
kubejs/data/nullscape/tags/blocks/dead_corals.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"dead_fire_coral_block",
|
||||
"dead_tube_coral_block",
|
||||
"dead_horn_coral_block",
|
||||
"dead_brain_coral_block",
|
||||
"dead_bubble_coral_block"
|
||||
]
|
||||
}
|
||||
7
kubejs/data/nullscape/tags/blocks/end_bottom.json
Normal file
7
kubejs/data/nullscape/tags/blocks/end_bottom.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"blackstone",
|
||||
"end_stone"
|
||||
]
|
||||
}
|
||||
7
kubejs/data/nullscape/tags/blocks/end_soil.json
Normal file
7
kubejs/data/nullscape/tags/blocks/end_soil.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"end_stone",
|
||||
"smooth_basalt"
|
||||
]
|
||||
}
|
||||
6
kubejs/data/nullscape/tags/blocks/end_stone.json
Normal file
6
kubejs/data/nullscape/tags/blocks/end_stone.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"end_stone"
|
||||
]
|
||||
}
|
||||
6
kubejs/data/nullscape/tags/blocks/glowstone.json
Normal file
6
kubejs/data/nullscape/tags/blocks/glowstone.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"glowstone"
|
||||
]
|
||||
}
|
||||
9
kubejs/data/nullscape/tags/blocks/rift_blocks.json
Normal file
9
kubejs/data/nullscape/tags/blocks/rift_blocks.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"blackstone",
|
||||
"end_stone",
|
||||
"obsidian",
|
||||
"crying_obsidian"
|
||||
]
|
||||
}
|
||||
6
kubejs/data/nullscape/tags/blocks/smooth_basalt.json
Normal file
6
kubejs/data/nullscape/tags/blocks/smooth_basalt.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"smooth_basalt"
|
||||
]
|
||||
}
|
||||
6
kubejs/data/nullscape/tags/blocks/void_air.json
Normal file
6
kubejs/data/nullscape/tags/blocks/void_air.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"void_air"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "All non-teleportable mob entities",
|
||||
"values": [
|
||||
"minecraft:enderman",
|
||||
"minecraft:ender_pearl",
|
||||
"minecraft:marker",
|
||||
"minecraft:wither",
|
||||
"minecraft:ender_dragon",
|
||||
"minecraft:fishing_bobber"
|
||||
]
|
||||
}
|
||||
5
kubejs/data/nullscape/tags/functions/load.json
Normal file
5
kubejs/data/nullscape/tags/functions/load.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"values": [
|
||||
"nullscape:load"
|
||||
]
|
||||
}
|
||||
64
kubejs/data/nullscape/worldgen/biome/crystal_peaks.json
Normal file
64
kubejs/data/nullscape/worldgen/biome/crystal_peaks.json
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{
|
||||
"effects": {
|
||||
"sky_color": 0,
|
||||
"fog_color": 10518688,
|
||||
"water_color": 7172215,
|
||||
"water_fog_color": 329011,
|
||||
"ambient_sound": "minecraft:ambient.soul_sand_valley.loop",
|
||||
"mood_sound": {
|
||||
"sound": "minecraft:ambient.basalt_deltas.mood",
|
||||
"tick_delay": 6000,
|
||||
"block_search_extent": 8,
|
||||
"offset": 2
|
||||
},
|
||||
"additions_sound": {
|
||||
"sound": "minecraft:block.amethyst_block.chime",
|
||||
"tick_chance": 0.004
|
||||
},
|
||||
"particle": {
|
||||
"options": {
|
||||
"type": "falling_obsidian_tear"
|
||||
},
|
||||
"probability": 0.01
|
||||
}
|
||||
},
|
||||
"carvers": {},
|
||||
"features": [
|
||||
[
|
||||
"nullscape:crystal/crystal"
|
||||
],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[
|
||||
"minecraft:end_gateway_return"
|
||||
],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
],
|
||||
"spawners": {
|
||||
"monster": [
|
||||
{
|
||||
"type": "minecraft:enderman",
|
||||
"weight": 10,
|
||||
"minCount": 4,
|
||||
"maxCount": 4
|
||||
}
|
||||
],
|
||||
"creature": [],
|
||||
"ambient": [],
|
||||
"axolotls": [],
|
||||
"underground_water_creature": [],
|
||||
"water_creature": [],
|
||||
"water_ambient": [],
|
||||
"misc": []
|
||||
},
|
||||
"spawn_costs": {},
|
||||
"precipitation": "none",
|
||||
"temperature": 0.5,
|
||||
"downfall": 0.5,
|
||||
"category": "the_end"
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue