suspiciousBlock added
Textur und normal großer suspicious Block hinzugefügt
This commit is contained in:
parent
92fa6af3a0
commit
25ff4d1bc4
|
@ -0,0 +1,11 @@
|
|||
package modchest.block.custom;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
public class suspiciousBlock extends Block {
|
||||
|
||||
public suspiciousBlock(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
package modchest.block;
|
||||
|
||||
import modchest.block.custom.steeringWheelBlock;
|
||||
import modchest.block.custom.suspiciousBlock;
|
||||
import modchest.item.modItemGroup;
|
||||
import modchest.REServerMod;
|
||||
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
|
||||
|
@ -15,12 +16,16 @@ import net.minecraft.util.registry.Registry;
|
|||
//setzt die blöcke auf
|
||||
public class modBlocks {
|
||||
public static Block steering_wheel; // Block wird erstellt
|
||||
public static Block suspicious_block;
|
||||
|
||||
public static void setBlocks() {// Block wird definiert
|
||||
steering_wheel = registerBlock("steering_wheel",
|
||||
new steeringWheelBlock(FabricBlockSettings.of(Material.WOOD).strength(1.0f).requiresTool()),
|
||||
modItemGroup.modchest);
|
||||
|
||||
suspicious_block = registerBlock("suspicious_block",
|
||||
new suspiciousBlock(FabricBlockSettings.of(Material.SPONGE).strength(1.0f).requiresTool()),
|
||||
modItemGroup.modchest);
|
||||
}
|
||||
|
||||
private static Block registerBlock(String name, Block block, ItemGroup group) { // Nicht verändern! Fügt die oben
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {"model": "modchest:block/suspicious_block"}
|
||||
}
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
"item.modchest.shipblock": "Schiffsblock",
|
||||
"item.modchest.pirates_coin": "OP Piraten ding zum Testen",
|
||||
"block.modchest.steering_wheel": "Lenkrad",
|
||||
"block.modchest.suspicious_block": "verdächtiger Block :)",
|
||||
"itemGroup.modchest.itemlist1": "Malte's Mod",
|
||||
|
||||
"chat.modchest.multispawn.beddestroyed": "Scheint so, als wäre das Bett zerstört worden!",
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
"item.modchest.shipblock": "Hanno, änder die Sprache!",
|
||||
"item.modchest.pirates_coin": "Ya coin for tha pirrrrrates!",
|
||||
"block.modchest.steering_wheel": "Ne, du kriegst keine hilfreichen Angaben mit der Sprache!",
|
||||
"block.modchest.suspicious_block": "somethin' fishy with this block",
|
||||
"itemGroup.modchest.itemlist1": "Änder doch endlich die Sprache...",
|
||||
|
||||
"chat.modchest.multispawn.beddestroyed": "Sorry, mate! Looks like that cap'n doesn't like you",
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
"item.modchest.shipblock": "Shipblock",
|
||||
"item.modchest.pirates_coin": "Pirate's Coin",
|
||||
"block.modchest.steering_wheel": "Steering Wheel",
|
||||
"block.modchest.suspicious_block": "sus",
|
||||
"itemGroup.modchest.itemlist1": "new blocks",
|
||||
|
||||
"chat.modchest.multispawn.beddestroyed": "Oh shit! Looks like that bed got destroyed!",
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "modchest:block/suspicious_block_texture"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "modchest:block/suspicious_block"
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 377 B |
Loading…
Reference in New Issue