-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3d602b
commit 2d157e9
Showing
51 changed files
with
756 additions
and
4 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/main/java/net/dakotapride/garnished/block/nut/NutButtonBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package net.dakotapride.garnished.block.nut; | ||
|
||
import net.dakotapride.garnished.registry.GarnishedSetTypes; | ||
import net.minecraft.world.level.block.ButtonBlock; | ||
|
||
public class NutButtonBlock extends ButtonBlock { | ||
public NutButtonBlock(Properties pProperties) { | ||
super(pProperties, GarnishedSetTypes.NUT, 30, true); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/net/dakotapride/garnished/block/nut/NutFenceGateBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package net.dakotapride.garnished.block.nut; | ||
|
||
import net.dakotapride.garnished.registry.GarnishedWoodTypes; | ||
import net.minecraft.world.level.block.FenceGateBlock; | ||
|
||
public class NutFenceGateBlock extends FenceGateBlock { | ||
public NutFenceGateBlock(Properties pProperties) { | ||
super(pProperties, GarnishedWoodTypes.NUT); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/net/dakotapride/garnished/block/nut/NutPressurePlateBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package net.dakotapride.garnished.block.nut; | ||
|
||
import net.dakotapride.garnished.registry.GarnishedSetTypes; | ||
import net.minecraft.world.level.block.PressurePlateBlock; | ||
|
||
public class NutPressurePlateBlock extends PressurePlateBlock { | ||
public NutPressurePlateBlock(Properties pProperties) { | ||
super(Sensitivity.EVERYTHING, pProperties, GarnishedSetTypes.NUT); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
118 changes: 118 additions & 0 deletions
118
src/main/resources/assets/garnished/blockstates/nut_button.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
{ | ||
"variants": { | ||
"face=ceiling,facing=east,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"x": 180, | ||
"y": 270 | ||
}, | ||
"face=ceiling,facing=east,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"x": 180, | ||
"y": 270 | ||
}, | ||
"face=ceiling,facing=north,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"x": 180, | ||
"y": 180 | ||
}, | ||
"face=ceiling,facing=north,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"x": 180, | ||
"y": 180 | ||
}, | ||
"face=ceiling,facing=south,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"x": 180 | ||
}, | ||
"face=ceiling,facing=south,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"x": 180 | ||
}, | ||
"face=ceiling,facing=west,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"x": 180, | ||
"y": 90 | ||
}, | ||
"face=ceiling,facing=west,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"x": 180, | ||
"y": 90 | ||
}, | ||
"face=floor,facing=east,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"y": 90 | ||
}, | ||
"face=floor,facing=east,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"y": 90 | ||
}, | ||
"face=floor,facing=north,powered=false": { | ||
"model": "garnished:block/nut_button" | ||
}, | ||
"face=floor,facing=north,powered=true": { | ||
"model": "garnished:block/nut_button_pressed" | ||
}, | ||
"face=floor,facing=south,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"y": 180 | ||
}, | ||
"face=floor,facing=south,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"y": 180 | ||
}, | ||
"face=floor,facing=west,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"y": 270 | ||
}, | ||
"face=floor,facing=west,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"y": 270 | ||
}, | ||
"face=wall,facing=east,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"uvlock": true, | ||
"x": 90, | ||
"y": 90 | ||
}, | ||
"face=wall,facing=east,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"uvlock": true, | ||
"x": 90, | ||
"y": 90 | ||
}, | ||
"face=wall,facing=north,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"uvlock": true, | ||
"x": 90 | ||
}, | ||
"face=wall,facing=north,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"uvlock": true, | ||
"x": 90 | ||
}, | ||
"face=wall,facing=south,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"uvlock": true, | ||
"x": 90, | ||
"y": 180 | ||
}, | ||
"face=wall,facing=south,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"uvlock": true, | ||
"x": 90, | ||
"y": 180 | ||
}, | ||
"face=wall,facing=west,powered=false": { | ||
"model": "garnished:block/nut_button", | ||
"uvlock": true, | ||
"x": 90, | ||
"y": 270 | ||
}, | ||
"face=wall,facing=west,powered=true": { | ||
"model": "garnished:block/nut_button_pressed", | ||
"uvlock": true, | ||
"x": 90, | ||
"y": 270 | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
src/main/resources/assets/garnished/blockstates/nut_fence.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"multipart": [ | ||
{ | ||
"apply": { | ||
"model": "garnished:block/nut_fence_post" | ||
} | ||
}, | ||
{ | ||
"apply": { | ||
"model": "garnished:block/nut_fence_side", | ||
"uvlock": true | ||
}, | ||
"when": { | ||
"north": "true" | ||
} | ||
}, | ||
{ | ||
"apply": { | ||
"model": "garnished:block/nut_fence_side", | ||
"uvlock": true, | ||
"y": 90 | ||
}, | ||
"when": { | ||
"east": "true" | ||
} | ||
}, | ||
{ | ||
"apply": { | ||
"model": "garnished:block/nut_fence_side", | ||
"uvlock": true, | ||
"y": 180 | ||
}, | ||
"when": { | ||
"south": "true" | ||
} | ||
}, | ||
{ | ||
"apply": { | ||
"model": "garnished:block/nut_fence_side", | ||
"uvlock": true, | ||
"y": 270 | ||
}, | ||
"when": { | ||
"west": "true" | ||
} | ||
} | ||
] | ||
} |
80 changes: 80 additions & 0 deletions
80
src/main/resources/assets/garnished/blockstates/nut_fence_gate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"variants": { | ||
"facing=east,in_wall=false,open=false": { | ||
"model": "garnished:block/nut_fence_gate", | ||
"uvlock": true, | ||
"y": 270 | ||
}, | ||
"facing=east,in_wall=false,open=true": { | ||
"model": "garnished:block/nut_fence_gate_open", | ||
"uvlock": true, | ||
"y": 270 | ||
}, | ||
"facing=east,in_wall=true,open=false": { | ||
"model": "garnished:block/nut_fence_gate_wall", | ||
"uvlock": true, | ||
"y": 270 | ||
}, | ||
"facing=east,in_wall=true,open=true": { | ||
"model": "garnished:block/nut_fence_gate_wall_open", | ||
"uvlock": true, | ||
"y": 270 | ||
}, | ||
"facing=north,in_wall=false,open=false": { | ||
"model": "garnished:block/nut_fence_gate", | ||
"uvlock": true, | ||
"y": 180 | ||
}, | ||
"facing=north,in_wall=false,open=true": { | ||
"model": "garnished:block/nut_fence_gate_open", | ||
"uvlock": true, | ||
"y": 180 | ||
}, | ||
"facing=north,in_wall=true,open=false": { | ||
"model": "garnished:block/nut_fence_gate_wall", | ||
"uvlock": true, | ||
"y": 180 | ||
}, | ||
"facing=north,in_wall=true,open=true": { | ||
"model": "garnished:block/nut_fence_gate_wall_open", | ||
"uvlock": true, | ||
"y": 180 | ||
}, | ||
"facing=south,in_wall=false,open=false": { | ||
"model": "garnished:block/nut_fence_gate", | ||
"uvlock": true | ||
}, | ||
"facing=south,in_wall=false,open=true": { | ||
"model": "garnished:block/nut_fence_gate_open", | ||
"uvlock": true | ||
}, | ||
"facing=south,in_wall=true,open=false": { | ||
"model": "garnished:block/nut_fence_gate_wall", | ||
"uvlock": true | ||
}, | ||
"facing=south,in_wall=true,open=true": { | ||
"model": "garnished:block/nut_fence_gate_wall_open", | ||
"uvlock": true | ||
}, | ||
"facing=west,in_wall=false,open=false": { | ||
"model": "garnished:block/nut_fence_gate", | ||
"uvlock": true, | ||
"y": 90 | ||
}, | ||
"facing=west,in_wall=false,open=true": { | ||
"model": "garnished:block/nut_fence_gate_open", | ||
"uvlock": true, | ||
"y": 90 | ||
}, | ||
"facing=west,in_wall=true,open=false": { | ||
"model": "garnished:block/nut_fence_gate_wall", | ||
"uvlock": true, | ||
"y": 90 | ||
}, | ||
"facing=west,in_wall=true,open=true": { | ||
"model": "garnished:block/nut_fence_gate_wall_open", | ||
"uvlock": true, | ||
"y": 90 | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/resources/assets/garnished/blockstates/nut_pressure_plate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"variants": { | ||
"powered=false": { | ||
"model": "garnished:block/nut_pressure_plate" | ||
}, | ||
"powered=true": { | ||
"model": "garnished:block/nut_pressure_plate_down" | ||
} | ||
} | ||
} |
Oops, something went wrong.