Skip to content

Commit

Permalink
Allow blocks to be broken with normal tools
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ckscor3 committed Feb 3, 2025
1 parent ce704f0 commit cd39f0c
Show file tree
Hide file tree
Showing 99 changed files with 2,280 additions and 1,023 deletions.
15 changes: 13 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
--------------------------Changelog for the upcoming version of SecurityCraft--------------------------

- New: Cameras can now be viewed on Frames within the world (live camera feeds)[1]
- New: Several server and client config settings to control chunk loading in camera feeds
- New: All blocks can now be broken only by the owner with normal tools (axe, shovel, hoe, ...) and the Universal Block Remover has been disabled by default
- New: Config to re-enable the Universal Block Remover and disable normal block breaking
- New: Config to define tool requirement behavior (e.g. does Reinforced Stone always drop, or just when breaking it using a pickaxe?)
- New: Config to allow other players to break anyone's blocks (disallowed by default)
- New: Config for defining how much longer it should take to break another player's block compared to breaking one's own
- New: Reinforced Blocks: Pale Oak Log, Stripped Pale Oak Log, Pale Oak Wood, Stripped Pale Oak Wood, Pale Oak Planks, Pale Oak Stairs, Pale Oak Slabs, Pale Oak Button, Pale Oake Pressure Plate, Pale Oak Fence, Pale Oak Fence Gate, Pale Moss Block, Pale Moss Carpet
- New: Secret Pale Oak (Hanging) Sign
- New: Pale Oak Security Sea Boat
- New: Creaking Heart Mine
- New: Cameras can now be viewed on Frames within the world (live camera feeds)[1]
- New: Several server and client config settings to control chunk loading in camera feeds
- Change: The block mine overlay now shows in the first person hand models as well
- Change: Camera model animations are now synchronized between players
- API: IDisguisable has been simplified
Expand All @@ -17,6 +22,12 @@
- Fix: Items that can have linked positions (e.g. Camera Monitor) show the idle animation even when they have positions and are either dropped, or held by a non-player entity
- Fix: The display of items in the SC Manual can change too fast in certain situations
- Fix: Potential startup crash
- Fix: The map color, instrument, and more properties of many reinforced blocks don't match their vanilla counterparts
- Fix: Several reinforced blocks can be broken by pistons
- Fix: Wall hanging signs have an incorrect translation key
- Fix: Security sea boats cannot be broken by players like normal boats
- Fix: The claymore does not ignore the owner if the "Ignore Owner" option is true, and vice versa
- Removed: Configuration "ableToBreakMines"

[1] Note: Frame blocks that already existed in the world prior to this update will lose their owner. These frames can be broken by anyone so they can be placed down with the proper owner again.

Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java-library'
id 'eclipse'
id 'idea'
id 'net.neoforged.moddev' version '2.0.71'
id 'net.neoforged.moddev' version '2.0.76'
}

import groovy.json.JsonOutput
Expand Down Expand Up @@ -43,24 +43,24 @@ neoForge {
logLevel = org.slf4j.event.Level.DEBUG
ideName = "SC ${project.mc_version} " + ideName.get()
}

client {
client()
gameDirectory = project.file('run/client')
}

client2 {
client()
gameDirectory = project.file('run/client')
programArguments.addAll('--username', 'Dev2')
}

server {
server()
gameDirectory = project.file('run/server')
programArgument('-nogui')
}

data {
data()
gameDirectory = project.file('run/data')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -568,10 +568,10 @@
"securitycraft:secret_mangrove_wall_hanging_sign",
"securitycraft:secret_cherry_hanging_sign",
"securitycraft:secret_cherry_wall_hanging_sign",
"securitycraft:secret_bamboo_hanging_sign",
"securitycraft:secret_bamboo_wall_hanging_sign",
"securitycraft:secret_pale_oak_hanging_sign",
"securitycraft:secret_pale_oak_wall_hanging_sign",
"securitycraft:secret_bamboo_hanging_sign",
"securitycraft:secret_bamboo_wall_hanging_sign",
"securitycraft:secret_crimson_hanging_sign",
"securitycraft:secret_crimson_wall_hanging_sign",
"securitycraft:secret_warped_hanging_sign",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -568,10 +568,10 @@
"securitycraft:secret_mangrove_wall_hanging_sign",
"securitycraft:secret_cherry_hanging_sign",
"securitycraft:secret_cherry_wall_hanging_sign",
"securitycraft:secret_bamboo_hanging_sign",
"securitycraft:secret_bamboo_wall_hanging_sign",
"securitycraft:secret_pale_oak_hanging_sign",
"securitycraft:secret_pale_oak_wall_hanging_sign",
"securitycraft:secret_bamboo_hanging_sign",
"securitycraft:secret_bamboo_wall_hanging_sign",
"securitycraft:secret_crimson_hanging_sign",
"securitycraft:secret_crimson_wall_hanging_sign",
"securitycraft:secret_warped_hanging_sign",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
{
"values": [
"securitycraft:creaking_heart_mine"
"securitycraft:creaking_heart_mine",
"securitycraft:reinforced_bookshelf",
"securitycraft:reinforced_ladder",
"securitycraft:reinforced_lectern",
"securitycraft:reinforced_scaffolding",
"securitycraft:reinforced_bamboo_mosaic",
"securitycraft:reinforced_bamboo_mosaic_slab",
"securitycraft:reinforced_bamboo_mosaic_stairs",
"securitycraft:reinforced_chiseled_bookshelf",
"#securitycraft:reinforced/wooden_fence_gates",
"#securitycraft:reinforced/logs",
"#securitycraft:reinforced/planks",
"#securitycraft:secret_signs",
"#securitycraft:reinforced/wooden_buttons",
"#securitycraft:reinforced/wooden_fences",
"#securitycraft:reinforced/wooden_pressure_plates",
"#securitycraft:reinforced/wooden_slabs",
"#securitycraft:reinforced/wooden_stairs",
"#securitycraft:secret_hanging_signs",
"#securitycraft:reinforced/bamboo_blocks"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"values": [
"securitycraft:reinforced_nether_wart_block",
"securitycraft:reinforced_warped_wart_block",
"securitycraft:reinforced_shroomlight",
"securitycraft:reinforced_moss_block",
"securitycraft:reinforced_moss_carpet",
"securitycraft:reinforced_pale_moss_block",
"securitycraft:reinforced_pale_moss_carpet"
]
}
Loading

0 comments on commit cd39f0c

Please sign in to comment.