Assorted Workses, In Progress'es.
This commit is contained in:
parent
e6f0afefc7
commit
59f58aec66
24 changed files with 1946 additions and 7 deletions
|
|
@ -5,7 +5,7 @@
|
|||
"authors": ["Melchior","bunnyviking"],
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"game": "1.10.1",
|
||||
"game": "1.11.0",
|
||||
"survival": ""
|
||||
},
|
||||
"requiredonclient":true,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
using System;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using Vintagestory.API.Common;
|
||||
using Vintagestory.API.Server;
|
||||
using Vintagestory.Common;
|
||||
|
|
@ -8,7 +8,7 @@ using Vintagestory.Server;
|
|||
namespace AnvilMetalRecovery
|
||||
{
|
||||
public class MetalRecoverySystem : ModSystem
|
||||
{
|
||||
{
|
||||
internal const string anvilKey = @"Anvil";
|
||||
|
||||
private ICoreAPI CoreAPI;
|
||||
|
|
@ -56,8 +56,28 @@ namespace AnvilMetalRecovery
|
|||
|
||||
Mod.Logger.VerboseDebug("Anvil Metal Recovery - should be installed...");
|
||||
}
|
||||
}
|
||||
|
||||
internal void GenerateMetalShavingsItems( )
|
||||
{
|
||||
//TODO: Automatic Generation of Item 'metal_shaving' by metal & alloy list at RUNTIME
|
||||
var genericShaving = ServerAPI.World.ClassRegistry.CreateItem("metal_shaving");
|
||||
//genericShaving.CombustibleProps.
|
||||
|
||||
var metalProperties = new Dictionary<AssetLocation, MetalProperty>( );
|
||||
|
||||
foreach (var entry in ServerAPI.Assets.GetMany<MetalProperty>(Mod.Logger, "worldproperties/"))
|
||||
{
|
||||
AssetLocation loc = entry.Key.Clone( );
|
||||
loc.Path = loc.Path.Replace("worldproperties/", "");
|
||||
loc.RemoveEnding( );
|
||||
|
||||
entry.Value.Code.Domain = entry.Key.Domain;
|
||||
|
||||
metalProperties.Add(loc, entry.Value);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal static class Helpers
|
||||
{
|
||||
|
|
@ -67,7 +87,7 @@ namespace AnvilMetalRecovery
|
|||
//replace it
|
||||
registry.blockEntityClassnameToTypeMapping[className] = blockentity;
|
||||
registry.blockEntityTypeToClassnameMapping[blockentity] = className;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
88
Assorted/Assorted.csproj
Normal file
88
Assorted/Assorted.csproj
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{805B37F5-F87D-4A63-BD3F-66AE59F1C998}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>FirstMachineAge</RootNamespace>
|
||||
<AssemblyName>Assorted</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="cairo-sharp">
|
||||
<HintPath>vs_libs\cairo-sharp.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="protobuf-net">
|
||||
<HintPath>vs_libs\protobuf-net.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="VintagestoryAPI">
|
||||
<HintPath>vs_libs\VintagestoryAPI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="VintagestoryLib">
|
||||
<HintPath>vs_libs\VintagestoryLib.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="VSCreativeMod">
|
||||
<HintPath>vs_libs\VSCreativeMod.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="VSEssentials">
|
||||
<HintPath>vs_libs\VSEssentials.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="VSSurvivalMod">
|
||||
<HintPath>vs_libs\VSSurvivalMod.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AssortedModLoader.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="BlockClasses\BoltableDoor.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="BlockClasses\" />
|
||||
<Folder Include="assets\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="assets\defensive\blocktypes\iron\grille_horizontal.json" />
|
||||
<None Include="assets\defensive\blocktypes\iron\grille_vertical.json" />
|
||||
<None Include="assets\defensive\blocktypes\stone\slot_vert.json" />
|
||||
<None Include="assets\defensive\blocktypes\wood\boltable_door.json" />
|
||||
<None Include="assets\defensive\lang\en.json" />
|
||||
<None Include="assets\defensive\recipes\smithing\grille.json" />
|
||||
<None Include="assets\defensive\shapes\block\iron\grille_horizontal.json" />
|
||||
<None Include="assets\defensive\shapes\block\iron\grille_vertical.json" />
|
||||
<None Include="assets\defensive\shapes\block\iron\strut_vert.json" />
|
||||
<None Include="assets\defensive\shapes\block\stone\slot_vert.json" />
|
||||
<None Include="assets\defensive\shapes\block\wood\heavydoor_lower_closed_left.json" />
|
||||
<None Include="assets\defensive\shapes\block\wood\heavydoor_lower_opened_left.json" />
|
||||
<None Include="assets\defensive\shapes\block\wood\heavydoor_upper_closed_left.json" />
|
||||
<None Include="assets\defensive\shapes\block\wood\heavydoor_upper_opened_left.json" />
|
||||
<None Include="assets\defensive\textures\metal\iron_rusty.png" />
|
||||
<None Include="modinfo.json" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
77
Assorted/AssortedModLoader.cs
Normal file
77
Assorted/AssortedModLoader.cs
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Vintagestory.API.Common;
|
||||
using Vintagestory.API.Server;
|
||||
using Vintagestory.Common;
|
||||
using Vintagestory.Server;
|
||||
|
||||
namespace FirstMachineAge
|
||||
{
|
||||
public class AssortedModSystems : ModSystem
|
||||
{
|
||||
private ICoreAPI CoreAPI;
|
||||
private ICoreServerAPI ServerAPI;
|
||||
private ServerCoreAPI ServerCore { get; set; }
|
||||
|
||||
public override bool AllowRuntimeReload {
|
||||
get { return false; }
|
||||
}
|
||||
|
||||
public override bool ShouldLoad(EnumAppSide forSide)
|
||||
{
|
||||
return forSide.IsClient() || forSide.IsServer();
|
||||
}
|
||||
|
||||
public override double ExecuteOrder( )
|
||||
{
|
||||
return 0.1d;
|
||||
}
|
||||
|
||||
public override void Start(ICoreAPI api)
|
||||
{
|
||||
base.Start(api);
|
||||
this.CoreAPI = api;
|
||||
|
||||
RegisterBlockClasses( );
|
||||
}
|
||||
|
||||
public override void StartServerSide(ICoreServerAPI api)
|
||||
{
|
||||
base.StartServerSide(api);
|
||||
|
||||
this.ServerAPI = api;
|
||||
|
||||
|
||||
if (api is ServerCoreAPI) {
|
||||
ServerCore = api as ServerCoreAPI;
|
||||
}
|
||||
else {
|
||||
Mod.Logger.Error("Cannot access 'ServerCoreAPI' class: API (implimentation) has changed, Contact Developer!");
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void RegisterBlockClasses( )
|
||||
{
|
||||
CoreAPI.RegisterBlockClass("BoltableDoor", typeof(BoltableDoor));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
internal static class Helpers
|
||||
{
|
||||
internal static void ReplaceBlockEntityType(this ClassRegistry registry, string className, Type blockentity)
|
||||
{
|
||||
if (registry.blockEntityClassnameToTypeMapping.ContainsKey(className)) {
|
||||
//replace it
|
||||
registry.blockEntityClassnameToTypeMapping[className] = blockentity;
|
||||
registry.blockEntityTypeToClassnameMapping[blockentity] = className;
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
77
Assorted/BlockClasses/BoltableDoor.cs
Normal file
77
Assorted/BlockClasses/BoltableDoor.cs
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
using System;
|
||||
|
||||
using Vintagestory.API.Client;
|
||||
using Vintagestory.API.Common;
|
||||
using Vintagestory.API.MathTools;
|
||||
using Vintagestory.API.Util;
|
||||
using Vintagestory.GameContent;
|
||||
|
||||
namespace FirstMachineAge
|
||||
{
|
||||
public class BoltableDoor : BlockBaseDoor
|
||||
{
|
||||
public BoltableDoor( )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override BlockFacing GetDirection( )
|
||||
{
|
||||
|
||||
return BlockFacing.FromCode(this.Variant["horizontalorientation"]);
|
||||
}
|
||||
|
||||
public override string GetKnobOrientation( )
|
||||
{
|
||||
return @"left";
|
||||
}
|
||||
|
||||
public override bool OnBlockInteractStart(IWorldAccessor world, IPlayer byPlayer, BlockSelection selBox)
|
||||
{
|
||||
string info = $"Offset:{selBox.DidOffset}, Face:{selBox?.Face}, Hit:{selBox?.HitPosition}, B.POS:{selBox?.Position}, S.Index{selBox.SelectionBoxIndex}";
|
||||
|
||||
world.Logger.VerboseDebug("BoltableDoor: [{0}]", info);
|
||||
|
||||
if (!this.DoesBehaviorAllow(world, byPlayer, selBox)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
BlockPos position = selBox.Position;
|
||||
this.Open(world, byPlayer, position);
|
||||
|
||||
world.PlaySoundAt(new AssetLocation("sounds/block/door"), ( double )(( float )position.X + 0.5f), ( double )(( float )position.Y + 0.5f), ( double )(( float )position.Z + 0.5f), byPlayer, true, 32f, 1f);
|
||||
|
||||
this.TryOpenConnectedDoor(world, byPlayer, position);
|
||||
|
||||
IClientPlayer clientPlayer = byPlayer as IClientPlayer;
|
||||
|
||||
if (clientPlayer != null) {
|
||||
clientPlayer.TriggerFpAnimation(EnumHandInteract.HeldItemInteract);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void Open(IWorldAccessor world, IPlayer byPlayer, BlockPos position)
|
||||
{
|
||||
//throw new NotImplementedException( );
|
||||
}
|
||||
|
||||
protected override BlockPos TryGetConnectedDoorPos(BlockPos pos)
|
||||
{
|
||||
if (this.IsUpperHalf)
|
||||
{
|
||||
return pos.DownCopy( );
|
||||
}
|
||||
|
||||
return pos.UpCopy( );
|
||||
}
|
||||
|
||||
public bool IsUpperHalf
|
||||
{
|
||||
get { return this.Variant["part"] == "up";}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
27
Assorted/Properties/AssemblyInfo.cs
Normal file
27
Assorted/Properties/AssemblyInfo.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
// Information about this assembly is defined by the following attributes.
|
||||
// Change them to the values specific to your project.
|
||||
|
||||
[assembly: AssemblyTitle("Assorted")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("librarian")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
|
||||
[assembly: AssemblyVersion("1.0.*")]
|
||||
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile("")]
|
||||
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
{
|
||||
code: "grille_horizontal",
|
||||
variantgroups: [
|
||||
{ code: "side", loadFromProperties: "abstract/horizontalorientation" }
|
||||
],
|
||||
shapebytype: {
|
||||
"*-north": { base: "block/iron/grille_horizontal", rotateY: 0 },
|
||||
"*-east": { base: "block/iron/grille_horizontal" , rotateY: 270 },
|
||||
"*-south": { base: "block/iron/grille_horizontal" , rotateY: 180 },
|
||||
"*-west": { base: "block/iron/grille_horizontal", rotateY: 90 },
|
||||
},
|
||||
textures: {
|
||||
rivets: { base: "game:block/metal/sheet/iron1" },
|
||||
iron: { base: "game:block/metal/plate/iron" },
|
||||
},
|
||||
blockmaterial: "Metal",
|
||||
sidesolid: {
|
||||
all: false
|
||||
},
|
||||
sideopaque: {
|
||||
all: false
|
||||
},
|
||||
behaviors: [
|
||||
{name: "HorizontalOrientable", properties: { dropBlockFace: "north" }}
|
||||
],
|
||||
creativeinventory: { "general": ["grille_horizontal-*"], "decorative": ["grille_horizontal-*"] },
|
||||
resistance: 4,
|
||||
rainPermeable: true,
|
||||
lightAbsorption: 0,
|
||||
selectionboxesByType: {
|
||||
"*-north": [
|
||||
{ x1: 0.875, y1: 0, z1: 0.125, x2: 0.95, y2: 1, z2: 0.25, rotateY: 90 },
|
||||
{ x1: 0.875, y1: 0, z1: 0.75, x2: 0.95, y2: 1, z2: 0.875, rotateY: 90 },
|
||||
{ x1: 0.8, y1: 0.125, z1: 0, x2: 0.95, y2: 0.25, z2: 1, rotateY: 90 },
|
||||
{ x1: 0.8, y1: 0.75, z1: 0, x2: 0.95, y2: 0.875, z2: 1, rotateY: 90 },
|
||||
],
|
||||
"*-east": [
|
||||
{ x1: 0.875, y1: 0, z1: 0.125, x2: 0.95, y2: 1, z2: 0.25},
|
||||
{ x1: 0.875, y1: 0, z1: 0.75, x2: 0.95, y2: 1, z2: 0.875 },
|
||||
{ x1: 0.8, y1: 0.125, z1: 0, x2: 0.95, y2: 0.25, z2: 1 },
|
||||
{ x1: 0.8, y1: 0.75, z1: 0, x2: 0.95, y2: 0.875, z2: 1 },
|
||||
],
|
||||
"*-south": [
|
||||
{ x1: 0.875, y1: 0, z1: 0.125, x2: 0.95, y2: 1, z2: 0.25, rotateY: 270 },
|
||||
{ x1: 0.875, y1: 0, z1: 0.75, x2: 0.95, y2: 1, z2: 0.875, rotateY: 270 },
|
||||
{ x1: 0.8, y1: 0.125, z1: 0, x2: 0.95, y2: 0.25, z2: 1, rotateY: 270 },
|
||||
{ x1: 0.8, y1: 0.75, z1: 0, x2: 0.95, y2: 0.875, z2: 1, rotateY: 270 },
|
||||
],
|
||||
"*-west": [
|
||||
{ x1: 0.875, y1: 0, z1: 0.125, x2: 0.95, y2: 1, z2: 0.25, rotateY: 180},
|
||||
{ x1: 0.875, y1: 0, z1: 0.75, x2: 0.95, y2: 1, z2: 0.875, rotateY: 180 },
|
||||
{ x1: 0.8, y1: 0.125, z1: 0, x2: 0.95, y2: 0.25, z2: 1, rotateY: 180 },
|
||||
{ x1: 0.8, y1: 0.75, z1: 0, x2: 0.95, y2: 0.875, z2: 1, rotateY: 180 },
|
||||
],
|
||||
},
|
||||
collisionboxesByType: {
|
||||
"*-north": [
|
||||
{ x1: 0.875, y1: 0, z1: 0.125, x2: 0.95, y2: 1, z2: 0.25, rotateY: 90 },
|
||||
{ x1: 0.875, y1: 0, z1: 0.75, x2: 0.95, y2: 1, z2: 0.875, rotateY: 90 },
|
||||
{ x1: 0.8, y1: 0.125, z1: 0, x2: 0.95, y2: 0.25, z2: 1, rotateY: 90 },
|
||||
{ x1: 0.8, y1: 0.75, z1: 0, x2: 0.95, y2: 0.875, z2: 1, rotateY: 90 },
|
||||
],
|
||||
"*-east": [
|
||||
{ x1: 0.875, y1: 0, z1: 0.125, x2: 0.95, y2: 1, z2: 0.25},
|
||||
{ x1: 0.875, y1: 0, z1: 0.75, x2: 0.95, y2: 1, z2: 0.875 },
|
||||
{ x1: 0.8, y1: 0.125, z1: 0, x2: 0.95, y2: 0.25, z2: 1 },
|
||||
{ x1: 0.8, y1: 0.75, z1: 0, x2: 0.95, y2: 0.875, z2: 1 },
|
||||
],
|
||||
"*-south": [
|
||||
{ x1: 0.875, y1: 0, z1: 0.125, x2: 0.95, y2: 1, z2: 0.25, rotateY: 270 },
|
||||
{ x1: 0.875, y1: 0, z1: 0.75, x2: 0.95, y2: 1, z2: 0.875, rotateY: 270 },
|
||||
{ x1: 0.8, y1: 0.125, z1: 0, x2: 0.95, y2: 0.25, z2: 1, rotateY: 270 },
|
||||
{ x1: 0.8, y1: 0.75, z1: 0, x2: 0.95, y2: 0.875, z2: 1, rotateY: 270 },
|
||||
],
|
||||
"*-west": [
|
||||
{ x1: 0.875, y1: 0, z1: 0.125, x2: 0.95, y2: 1, z2: 0.25, rotateY: 180},
|
||||
{ x1: 0.875, y1: 0, z1: 0.75, x2: 0.95, y2: 1, z2: 0.875, rotateY: 180 },
|
||||
{ x1: 0.8, y1: 0.125, z1: 0, x2: 0.95, y2: 0.25, z2: 1, rotateY: 180 },
|
||||
{ x1: 0.8, y1: 0.75, z1: 0, x2: 0.95, y2: 0.875, z2: 1, rotateY: 180 },
|
||||
],
|
||||
},
|
||||
materialDensity: 600,
|
||||
sounds: {
|
||||
"place": "game:block/anvil",
|
||||
"break": "game:block/anvil",
|
||||
"hit": "game:block/anvil"
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
code: "grille_vertical",
|
||||
variantgroups: [
|
||||
{ code: "orient", states: ["up", "down"] },
|
||||
],
|
||||
shapebytype: {
|
||||
"*-up": { base: "block/iron/grille_vertical" },
|
||||
"*-down": { base: "block/iron/grille_vertical" , rotateX: 180 },
|
||||
},
|
||||
textures: {
|
||||
rivets: { base: "game:block/metal/sheet/iron1" },
|
||||
iron: { base: "game:block/metal/plate/iron" },
|
||||
},
|
||||
blockmaterial: "Metal",
|
||||
sidesolid: {
|
||||
all: false
|
||||
},
|
||||
sideopaque: {
|
||||
all: false
|
||||
},
|
||||
behaviors: [
|
||||
{name: "HorUDOrientable" }
|
||||
],
|
||||
creativeinventory: { "general": ["grille_vertical-*"], "decorative": ["grille_vertical-*"] },
|
||||
resistance: 4,
|
||||
rainPermeable: true,
|
||||
lightAbsorption: 0,
|
||||
selectionboxesByType: {
|
||||
"*-up": [
|
||||
{ x1: 0, y1: 0.825, z1: 0, x2: 1, y2: 1, z2: 1 }
|
||||
],
|
||||
"*-down": [
|
||||
{ x1: 0, y1: 0.825, z1: 0, x2: 1, y2: 1, z2: 1, rotateX:180 }
|
||||
],
|
||||
},
|
||||
collisionboxesByType: {
|
||||
"*-up": [
|
||||
{ x1: 0, y1: 0.825, z1: 0, x2: 1, y2: 1, z2: 1 }
|
||||
],
|
||||
"*-down": [
|
||||
{ x1: 0, y1: 0.825, z1: 0, x2: 1, y2: 1, z2: 1, rotateX:180 }
|
||||
],
|
||||
},
|
||||
materialDensity: 600,
|
||||
sounds: {
|
||||
"place": "game:block/anvil",
|
||||
"break": "game:block/anvil",
|
||||
"hit": "game:block/anvil",
|
||||
"walk": "game:block/plate",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
78
Assorted/assets/defensive/blocktypes/stone/slot_vert.json
Normal file
78
Assorted/assets/defensive/blocktypes/stone/slot_vert.json
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
code: "slot_vertical",
|
||||
variantgroups: [
|
||||
{ code: "side", loadFromProperties: "abstract/horizontalorientation" }
|
||||
],
|
||||
shapebytype: {
|
||||
"*-north": { base: "block/stone/slot_vert", rotateY: 0 },
|
||||
"*-east": { base: "block/stone/slot_vert" , rotateY: 270 },
|
||||
"*-south": { base: "block/stone/slot_vert" , rotateY: 180 },
|
||||
"*-west": { base: "block/stone/slot_vert", rotateY: 90 },
|
||||
},
|
||||
variantgroups: [
|
||||
{ loadFromProperties: "block/rock" },
|
||||
{ code: "rot", states: ["north", "east", "south", "west"] }
|
||||
],
|
||||
textures: {
|
||||
all: { base: "game:block/stone/cobblestone/{rock}1" },
|
||||
},
|
||||
blockmaterial: "Stone",
|
||||
sidesolid: {
|
||||
all: false
|
||||
},
|
||||
sideopaque: {
|
||||
all: false
|
||||
},
|
||||
behaviors: [
|
||||
{name: "HorizontalOrientable", properties: { dropBlockFace: "north" }}
|
||||
],
|
||||
creativeinventory: { "general": ["slot_vertical-*"], "decorative": ["slot_vertical-*"] },
|
||||
resistance: 3,
|
||||
rainPermeable: true,
|
||||
lightAbsorption: 0,
|
||||
selectionboxesByType: {
|
||||
"*-north": [
|
||||
{ x1: 0.5, y1: 0, z1: 0, x2: 0, y2: 1, z2: 0.25 , rotateY: 270 },
|
||||
{ x1: 0, y1: 0, z1: 0.75, x2: 0.5, y2: 1, z2: 1 , rotateY: 270 },
|
||||
],
|
||||
"*-east": [
|
||||
{ x1: 0.5, y1: 0, z1: 0, x2: 0, y2: 1, z2: 0.25 , rotateY: 180 },
|
||||
{ x1: 0, y1: 0, z1: 0.75, x2: 0.5, y2: 1, z2: 1 , rotateY: 180 },
|
||||
],
|
||||
"*-south": [
|
||||
{ x1: 0.5, y1: 0, z1: 0, x2: 0, y2: 1, z2: 0.25 , rotateY: 90},
|
||||
{ x1: 0, y1: 0, z1: 0.75, x2: 0.5, y2: 1, z2: 1 , rotateY: 90},
|
||||
],
|
||||
"*-west": [
|
||||
{ x1: 0.5, y1: 0, z1: 0, x2: 0, y2: 1, z2: 0.25 },
|
||||
{ x1: 0, y1: 0, z1: 0.75, x2: 0.5, y2: 1, z2: 1 },
|
||||
],
|
||||
},
|
||||
collisionboxesByType: {
|
||||
"*-north": [
|
||||
{ x1: 0.5, y1: 0, z1: 0, x2: 0, y2: 1, z2: 0.25 , rotateY: 270 },
|
||||
{ x1: 0, y1: 0, z1: 0.75, x2: 0.5, y2: 1, z2: 1 , rotateY: 270 },
|
||||
],
|
||||
"*-east": [
|
||||
{ x1: 0.5, y1: 0, z1: 0, x2: 0, y2: 1, z2: 0.25 , rotateY: 180 },
|
||||
{ x1: 0, y1: 0, z1: 0.75, x2: 0.5, y2: 1, z2: 1 , rotateY: 180 },
|
||||
],
|
||||
"*-south": [
|
||||
{ x1: 0.5, y1: 0, z1: 0, x2: 0, y2: 1, z2: 0.25 , rotateY: 90},
|
||||
{ x1: 0, y1: 0, z1: 0.75, x2: 0.5, y2: 1, z2: 1 , rotateY: 90},
|
||||
],
|
||||
"*-west": [
|
||||
{ x1: 0.5, y1: 0, z1: 0, x2: 0, y2: 1, z2: 0.25 },
|
||||
{ x1: 0, y1: 0, z1: 0.75, x2: 0.5, y2: 1, z2: 1 },
|
||||
],
|
||||
},
|
||||
materialDensity: 600,
|
||||
sounds: {
|
||||
"walk": "walk/stone",
|
||||
byTool: {
|
||||
"Pickaxe": { hit: "block/rock-hit-pickaxe", break: "block/rock-break-pickaxe" }
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
116
Assorted/assets/defensive/blocktypes/wood/boltable_door.json
Normal file
116
Assorted/assets/defensive/blocktypes/wood/boltable_door.json
Normal file
|
|
@ -0,0 +1,116 @@
|
|||
{
|
||||
code: "boltable_door",
|
||||
class: "BoltableDoor",
|
||||
renderpass: "OpaqueNoCull",
|
||||
|
||||
heldTpIdleAnimation: "holdunderarm",
|
||||
attributes: {
|
||||
handbook: {
|
||||
groupBy: ["woodendoor-*"]
|
||||
},
|
||||
},
|
||||
variantgroups: [
|
||||
{ loadFromProperties: "abstract/horizontalorientation" },
|
||||
{ code: "part", states: ["down", "up"] },
|
||||
{ code: "state", states: ["closed", "opened"] },
|
||||
],
|
||||
creativeinventory: { "general": ["boltable_door-north-down-closed"], "decorative": ["boltable_door-north-down-closed"] },
|
||||
textures: {
|
||||
"wall-inside": { base:"game:block/wood/crate/wall-inside"},
|
||||
"oak2": { base:"game:block/wood/planks/oak2"},
|
||||
"oak1": { base:"game:block/wood/planks/oak1"}
|
||||
},
|
||||
shapebytype: {
|
||||
"*-north-down-closed": { base: "block/wood/heavydoor_lower_closed_left", rotateY: 90 },
|
||||
"*-north-up-closed": { base: "block/wood/heavydoor_upper_closed_left", rotateY: 90 },
|
||||
"*-north-down-opened": { base: "block/wood/heavydoor_lower_opened_left" , rotateY: 90 },
|
||||
"*-north-up-opened": { base: "block/wood/heavydoor_upper_opened_left", rotateY: 90 },
|
||||
|
||||
"*-east-down-closed": { base:"block/wood/heavydoor_lower_closed_left", rotateY: 0 },
|
||||
"*-east-up-closed": { base: "block/wood/heavydoor_upper_closed_left", rotateY: 0 },
|
||||
"*-east-down-opened": { base: "block/wood/heavydoor_lower_opened_left", rotateY: 0 },
|
||||
"*-east-up-opened": { base: "block/wood/heavydoor_upper_opened_left", rotateY: 0 },
|
||||
|
||||
"*-south-down-closed": { base: "block/wood/heavydoor_lower_closed_left", rotateY: 270 },
|
||||
"*-south-up-closed": { base: "block/wood/heavydoor_upper_closed_left", rotateY:270 },
|
||||
"*-south-down-opened": { base: "block/wood/heavydoor_lower_opened_left", rotateY: 270 },
|
||||
"*-south-up-opened": { base: "block/wood/heavydoor_upper_opened_left", rotateY: 270 },
|
||||
|
||||
"*-west-down-closed": { base: "block/wood/heavydoor_lower_closed_left", rotateY: 180 },
|
||||
"*-west-up-closed": { base: "block/wood/heavydoor_upper_closed_left", rotateY: 180 },
|
||||
"*-west-down-opened": { base: "block/wood/heavydoor_lower_opened_left", rotateY: 180 },
|
||||
"*-west-up-opened": { base: "block/wood/heavydoor_upper_opened_left", rotateY: 180 },
|
||||
},
|
||||
blockmaterial: "Wood",
|
||||
replaceable: 500,
|
||||
resistance: 3.5,
|
||||
lightAbsorption: 0,
|
||||
sidesolid: {
|
||||
all: false
|
||||
},
|
||||
sideopaque: {
|
||||
all: false
|
||||
},
|
||||
guiTransform: {
|
||||
origin: { x: 0.5, y: 1, z: 0.5 },
|
||||
scale: 0.75
|
||||
},
|
||||
fpHandTransform: {
|
||||
translation: { x: -0.27, y: 0.18, z: 0.72 },
|
||||
rotation: { x: 120, y: 42, z: 0 },
|
||||
scale: 1.11
|
||||
},
|
||||
tpHandTransform: {
|
||||
translation: { x: -1.1, y: -0.7, z: -0.6 },
|
||||
rotation: { x: 14, y: 0, z: 59 },
|
||||
scale: 0.6
|
||||
},
|
||||
groundTransform: {
|
||||
rotation: { x: -90, y: 0, z: 0 },
|
||||
origin: { x: 0.5, y: 0, z: 0.44 },
|
||||
scale: 2.15
|
||||
},
|
||||
selectionboxesByType: {
|
||||
"*-north-down-closed": [
|
||||
{ x1: 0, y1: 0, z1: 0.875, x2: 1, y2: 1, z2: 1 },
|
||||
],
|
||||
"*-north-up-closed": [
|
||||
{ x1: 0, y1: 0, z1: 0.875, x2: 1, y2: 1, z2: 1 },
|
||||
{ x1: 0.4, y1: 0.625, z1: 0.875, x2: 0.03, y2: 0.375, z2: 0.67 }
|
||||
],
|
||||
},
|
||||
collisionbox: { x1: 0, y1: 0, z1: 0.875, x2: 1, y2: 1, z2: 1,
|
||||
rotateYByType: {
|
||||
"*-north-*-opened-left": 90,
|
||||
"*-north-*-closed-left": 0,
|
||||
"*-west-*-opened-left": 180,
|
||||
"*-west-*-closed-left": 90,
|
||||
|
||||
"*-east-*-opened-left": 0,
|
||||
"*-east-*-closed-left": 270,
|
||||
"*-south-*-opened-left": 270,
|
||||
"*-south-*-closed-left": 180,
|
||||
|
||||
"*-north-*-opened-right": 270,
|
||||
"*-north-*-closed-right": 0,
|
||||
"*-west-*-opened-right": 0,
|
||||
"*-west-*-closed-right": 90,
|
||||
|
||||
"*-east-*-opened-right": 180,
|
||||
"*-east-*-closed-right": 270,
|
||||
"*-south-*-opened-right": 90,
|
||||
"*-south-*-closed-right": 180
|
||||
}
|
||||
},
|
||||
combustibleProps: {
|
||||
burnTemperature: 600,
|
||||
burnDuration: 25,
|
||||
},
|
||||
sounds: {
|
||||
"place": "block/planks",
|
||||
"hit": "block/planks",
|
||||
"break": "block/planks",
|
||||
"walk": "walk/wood"
|
||||
},
|
||||
materialDensity: 600
|
||||
}
|
||||
4
Assorted/assets/defensive/lang/en.json
Normal file
4
Assorted/assets/defensive/lang/en.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"defensive:block-grille_vertical-*": "Grille (Iron)",
|
||||
"defensive:itemdesc-grille_vertical-*": "A grille of latticed wrought iron bars.",
|
||||
}
|
||||
16
Assorted/assets/defensive/recipes/smithing/grille.json
Normal file
16
Assorted/assets/defensive/recipes/smithing/grille.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
ingredient: { type: "item", code: "game:ingot-iron", name: "metal" },
|
||||
pattern: [[
|
||||
"_##_____##_",
|
||||
"_#########_",
|
||||
"_#########_",
|
||||
"_##_____##_",
|
||||
"_##_____##_",
|
||||
"_##_____##_",
|
||||
"_#########_",
|
||||
"_#########_",
|
||||
"_##_____##_",
|
||||
]],
|
||||
name: "Lattice Iron Grille",
|
||||
output: { type: "block", code: "defensive:grille_vertical-north", stacksize: 3 }
|
||||
}
|
||||
|
|
@ -0,0 +1,132 @@
|
|||
{
|
||||
"editor": {
|
||||
"allAngles": false,
|
||||
"singleTexture": false
|
||||
},
|
||||
"textureWidth": 16,
|
||||
"textureHeight": 16,
|
||||
"textures": {
|
||||
"iron": "block/metal/plate/iron"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "LeftBar",
|
||||
"from": [ 2.0, 0.0, 1.0 ],
|
||||
"to": [ 4.0, 16.0, 1.5 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 4.5, 0.0, 6.5, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 8.0, 0.0, 8.5, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 5.5, 0.0, 7.5, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 9.0, 0.0, 9.5, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 8.0, 6.5, 10.0, 7.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 4.0, 7.5, 6.0, 8.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "RightBar",
|
||||
"from": [ 12.0, 0.0, 1.0 ],
|
||||
"to": [ 14.0, 16.0, 1.5 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 7.0, 0.0, 9.0, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 11.5, 0.0, 12.0, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 13.5, 0.0, 15.5, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 15.0, 0.0, 15.5, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 12.5, 11.5, 14.5, 12.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 5.0, 4.5, 7.0, 5.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "UpperBar",
|
||||
"from": [ 0.0, 12.0, 1.5 ],
|
||||
"to": [ 16.0, 14.0, 2.0 ],
|
||||
"rotationOrigin": [ 0.0, 12.0, 8.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 6.5, 16.0, 8.5 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 2.5, 12.0, 3.0, 14.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 5.5, 16.0, 7.5 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.5, 5.5, 1.0, 7.5 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 3.0, 16.0, 3.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 5.0, 16.0, 5.5 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Rivet3",
|
||||
"from": [ 2.5, 0.5, -1.0 ],
|
||||
"to": [ 3.5, 1.5, 0.75 ],
|
||||
"rotationOrigin": [ 3.0, 1.0, -1.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#rivets", "uv": [ 4.0, 8.0, 5.0, 9.0 ] },
|
||||
"east": { "texture": "#rivets", "uv": [ 8.0, 13.5, 9.5, 14.5 ] },
|
||||
"south": { "texture": "#rivets", "uv": [ 4.0, 6.5, 5.0, 7.5 ] },
|
||||
"west": { "texture": "#rivets", "uv": [ 7.0, 7.5, 8.5, 8.5 ] },
|
||||
"up": { "texture": "#rivets", "uv": [ 4.5, 6.0, 5.5, 7.5 ] },
|
||||
"down": { "texture": "#rivets", "uv": [ 5.0, 5.0, 6.0, 6.5 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Rivet4",
|
||||
"from": [ 12.5, 0.5, -1.0 ],
|
||||
"to": [ 13.5, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 13.0, 1.0, -1.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#rivets", "uv": [ 6.0, 6.5, 7.0, 7.5 ] },
|
||||
"east": { "texture": "#rivets", "uv": [ 4.5, 7.0, 6.5, 8.0 ] },
|
||||
"south": { "texture": "#rivets", "uv": [ 5.0, 7.5, 6.0, 8.5 ] },
|
||||
"west": { "texture": "#rivets", "uv": [ 7.0, 8.0, 9.0, 9.0 ] },
|
||||
"up": { "texture": "#rivets", "uv": [ 6.5, 5.5, 7.5, 7.5 ] },
|
||||
"down": { "texture": "#rivets", "uv": [ 6.5, 5.0, 7.5, 7.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "LowerBar",
|
||||
"from": [ 0.0, 2.0, 1.5 ],
|
||||
"to": [ 16.0, 4.0, 2.0 ],
|
||||
"rotationOrigin": [ 0.0, 2.0, 8.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 3.5, 16.0, 5.5 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 3.0, 3.0, 3.5, 5.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 2.0, 16.0, 4.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 0.0, 0.5, 2.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 9.0, 16.0, 9.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 2.0, 16.0, 2.5 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Rivet1",
|
||||
"from": [ 2.75, 0.5, -1.0 ],
|
||||
"to": [ 3.75, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 3.25, 0.75, 0.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#rivets", "uv": [ 6.0, 6.5, 7.0, 7.5 ] },
|
||||
"east": { "texture": "#rivets", "uv": [ 4.5, 6.0, 6.5, 7.0 ] },
|
||||
"south": { "texture": "#rivets", "uv": [ 11.0, 10.5, 12.0, 11.5 ] },
|
||||
"west": { "texture": "#rivets", "uv": [ 7.0, 10.5, 9.0, 11.5 ] },
|
||||
"up": { "texture": "#rivets", "uv": [ 2.5, 9.5, 3.5, 11.5 ] },
|
||||
"down": { "texture": "#rivets", "uv": [ 3.5, 3.5, 4.5, 5.5 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Rivet2",
|
||||
"from": [ 12.75, 0.5, -1.0 ],
|
||||
"to": [ 13.75, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 13.25, 0.75, -1.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#rivets", "uv": [ 3.5, 6.5, 4.5, 7.5 ] },
|
||||
"east": { "texture": "#rivets", "uv": [ 2.5, 13.0, 4.5, 14.0 ] },
|
||||
"south": { "texture": "#rivets", "uv": [ 4.5, 3.0, 5.5, 4.0 ] },
|
||||
"west": { "texture": "#rivets", "uv": [ 10.5, 9.0, 12.5, 10.0 ] },
|
||||
"up": { "texture": "#rivets", "uv": [ 6.0, 3.0, 7.0, 5.0 ] },
|
||||
"down": { "texture": "#rivets", "uv": [ 3.0, 10.0, 4.0, 12.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]}
|
||||
245
Assorted/assets/defensive/shapes/block/iron/grille_vertical.json
Normal file
245
Assorted/assets/defensive/shapes/block/iron/grille_vertical.json
Normal file
|
|
@ -0,0 +1,245 @@
|
|||
{
|
||||
"editor": {
|
||||
"allAngles": false,
|
||||
"singleTexture": false
|
||||
},
|
||||
"textureWidth": 16,
|
||||
"textureHeight": 16,
|
||||
"textures": {
|
||||
"iron": "block/metal/plate/iron"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "LeftBar",
|
||||
"from": [ 2.0, 0.0, 1.0 ],
|
||||
"to": [ 4.0, 16.0, 1.5 ],
|
||||
"rotationOrigin": [ 8.0, 8.0, 8.0 ],
|
||||
"rotationX": 90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 4.5, 0.0, 6.5, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 8.0, 0.0, 8.5, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 5.5, 0.0, 7.5, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 9.0, 0.0, 9.5, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 8.0, 6.5, 10.0, 7.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 4.0, 7.5, 6.0, 8.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "RightBar",
|
||||
"from": [ 12.0, 0.0, 1.0 ],
|
||||
"to": [ 14.0, 16.0, 1.5 ],
|
||||
"rotationOrigin": [ 8.0, 8.0, 8.0 ],
|
||||
"rotationX": 90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 7.0, 0.0, 9.0, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 11.5, 0.0, 12.0, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 13.5, 0.0, 15.5, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 15.0, 0.0, 15.5, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 12.5, 11.5, 14.5, 12.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 5.0, 4.5, 7.0, 5.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "LowerBar1",
|
||||
"from": [ 0.0, 12.0, 1.5 ],
|
||||
"to": [ 16.0, 14.0, 2.0 ],
|
||||
"rotationOrigin": [ 8.0, 8.0, 8.0 ],
|
||||
"rotationX": 90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 6.5, 16.0, 8.5 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 2.5, 12.0, 3.0, 14.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 5.5, 16.0, 7.5 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.5, 5.5, 1.0, 7.5 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 3.0, 16.0, 3.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 5.0, 16.0, 5.5 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Rivet3",
|
||||
"from": [ 2.5, 0.5, -1.0 ],
|
||||
"to": [ 3.5, 1.5, 0.75 ],
|
||||
"rotationOrigin": [ 3.0, 1.0, -1.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 10.5, 11.5, 11.5, 12.5 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 9.5, 3.0, 11.0, 4.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 8.0, 13.0, 9.0, 14.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 7.0, 1.0, 8.5, 2.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 6.5, 9.5, 7.5, 11.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 5.0, 2.5, 6.0, 4.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Rivet4",
|
||||
"from": [ 12.5, 0.5, -1.0 ],
|
||||
"to": [ 13.5, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 13.0, 1.0, -1.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 10.0, 7.0, 11.0, 8.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 4.0, 8.5, 6.0, 9.5 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 6.0, 9.5, 7.0, 10.5 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 4.0, 10.0, 6.0, 11.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 8.0, 7.5, 9.0, 9.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 5.5, 5.5, 6.5, 7.5 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "LowerBar2",
|
||||
"from": [ 0.0, 2.0, 1.5 ],
|
||||
"to": [ 16.0, 4.0, 2.0 ],
|
||||
"rotationOrigin": [ 8.0, 8.0, 8.0 ],
|
||||
"rotationX": 90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 3.5, 16.0, 5.5 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 3.0, 3.0, 3.5, 5.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 2.0, 16.0, 4.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 0.0, 0.5, 2.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 9.0, 16.0, 9.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 2.0, 16.0, 2.5 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Rivet1",
|
||||
"from": [ 2.75, 0.5, -1.0 ],
|
||||
"to": [ 3.75, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 3.25, 0.75, 0.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 9.5, 7.0, 10.5, 8.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 4.5, 8.0, 6.5, 9.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 7.0, 12.5, 8.0, 13.5 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 7.0, 13.5, 9.0, 14.5 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 2.5, 11.0, 3.5, 13.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 4.0, 3.5, 5.0, 5.5 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Rivet2",
|
||||
"from": [ 12.75, 0.5, -1.0 ],
|
||||
"to": [ 13.75, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 13.25, 0.75, -1.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 10.0, 4.0, 11.0, 5.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 5.0, 14.0, 7.0, 15.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 4.5, 4.5, 5.5, 5.5 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 10.0, 10.5, 12.0, 11.5 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 6.0, 5.0, 7.0, 7.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 3.0, 10.5, 4.0, 12.5 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MidBar",
|
||||
"from": [ 7.0, 0.0, 1.0 ],
|
||||
"to": [ 9.0, 16.0, 1.5 ],
|
||||
"rotationOrigin": [ 8.0, 8.0, 8.0 ],
|
||||
"rotationX": 90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 11.0, 0.0, 13.0, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 10.5, 0.0, 11.0, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 5.0, 0.0, 7.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 13.0, 0.0, 13.5, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 12.5, 12.0, 14.5, 12.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 5.0, 5.0, 7.0, 5.5 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Rivet5",
|
||||
"from": [ 0.5, 2.5, -0.5 ],
|
||||
"to": [ 1.5, 3.5, 1.5 ],
|
||||
"rotationOrigin": [ 1.0, 3.0, 1.0 ],
|
||||
"rotationZ": -45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 6.5, 6.5, 7.5, 7.5 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 5.0, 7.0, 7.0, 8.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 11.0, 12.0, 12.0, 13.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 8.5, 12.0, 10.5, 13.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 4.0, 12.0, 5.0, 14.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 4.0, 4.0, 5.0, 6.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Rivet6",
|
||||
"from": [ 0.5, 12.5, -0.5 ],
|
||||
"to": [ 1.5, 13.5, 1.5 ],
|
||||
"rotationOrigin": [ 1.0, 13.0, 1.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 12.5, 9.5, 13.5, 10.5 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 11.0, 11.5, 13.0, 12.5 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 8.0, 11.5, 9.0, 12.5 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 6.0, 6.0, 8.0, 7.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 8.5, 6.5, 9.5, 8.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 13.0, 11.5, 14.0, 13.5 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MidUnderBar",
|
||||
"from": [ 0.0, 2.0, 6.5 ],
|
||||
"to": [ 16.0, 4.0, 7.0 ],
|
||||
"rotationOrigin": [ 8.0, 8.0, 13.0 ],
|
||||
"rotationX": 90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 10.5, 16.0, 12.5 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 1.5, 13.5, 2.0, 15.5 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 13.0, 16.0, 15.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.5, 2.0, 1.0, 4.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 10.5, 16.0, 11.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 3.0, 16.0, 3.5 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Rivet13",
|
||||
"from": [ 2.75, 0.5, -1.0 ],
|
||||
"to": [ 3.75, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 3.25, 0.75, 0.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 9.5, 7.0, 10.5, 8.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 4.5, 8.0, 6.5, 9.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 7.0, 12.5, 8.0, 13.5 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 7.0, 13.5, 9.0, 14.5 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 2.5, 11.0, 3.5, 13.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 4.0, 3.5, 5.0, 5.5 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Rivet14",
|
||||
"from": [ 12.75, 0.5, -1.0 ],
|
||||
"to": [ 13.75, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 13.25, 0.75, -1.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 10.0, 4.0, 11.0, 5.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 5.0, 14.0, 7.0, 15.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 4.5, 4.5, 5.5, 5.5 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 10.0, 10.5, 12.0, 11.5 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 6.0, 5.0, 7.0, 7.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 3.0, 10.5, 4.0, 12.5 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Rivet15",
|
||||
"from": [ 7.75, 0.5, -1.0 ],
|
||||
"to": [ 8.75, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 8.25, 0.75, 0.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 9.5, 7.0, 10.5, 8.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 4.5, 8.0, 6.5, 9.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 7.0, 12.5, 8.0, 13.5 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 7.0, 13.5, 9.0, 14.5 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 2.5, 11.0, 3.5, 13.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 4.0, 3.5, 5.0, 5.5 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]}
|
||||
315
Assorted/assets/defensive/shapes/block/iron/strut_vert.json
Normal file
315
Assorted/assets/defensive/shapes/block/iron/strut_vert.json
Normal file
|
|
@ -0,0 +1,315 @@
|
|||
{
|
||||
"editor": {
|
||||
"allAngles": false,
|
||||
"entityTextureMode": false
|
||||
},
|
||||
"textureWidth": 16,
|
||||
"textureHeight": 16,
|
||||
"textureSizes": {
|
||||
},
|
||||
"textures": {
|
||||
"iron": "block/metal/plate/iron"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "CornerNW",
|
||||
"from": [ 0.0, 0.0, 0.0 ],
|
||||
"to": [ 4.0, 16.0, 1.0 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 4.0, 0.0, 8.0, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 2.5, 0.0, 3.5, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 4.0, 0.0, 8.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 4.0, 0.0, 5.0, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 6.5, 0.5, 10.5, 1.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 5.0, 3.5, 9.0, 4.5 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "CornerNWi",
|
||||
"from": [ 0.0, 0.0, 1.0 ],
|
||||
"to": [ 1.0, 16.0, 4.0 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 1.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 11.5, 0.0, 12.5, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 9.5, 0.0, 12.5, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 8.0, 0.0, 9.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 6.0, 0.0, 9.0, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 6.0, 0.0, 7.0, 3.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 6.0, 0.0, 7.0, 3.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "StrutNW",
|
||||
"from": [ 5.0, 5.0, 1.0 ],
|
||||
"to": [ 23.0, 7.0, 1.5 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 13.5, 16.0, 15.5 ], "autoUv": false },
|
||||
"east": { "texture": "#iron", "uv": [ 2.5, 7.0, 3.0, 9.0 ], "autoUv": false },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 11.5, 16.0, 13.5 ], "autoUv": false },
|
||||
"west": { "texture": "#iron", "uv": [ 11.0, 0.5, 11.5, 2.5 ], "autoUv": false },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 5.5, 16.0, 6.0 ], "autoUv": false },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 9.5, 16.0, 10.0 ], "autoUv": false }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "RivetU",
|
||||
"from": [ 16.5, 0.5, -1.5 ],
|
||||
"to": [ 17.5, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 16.0, 0.0, -3.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 7.5, 2.5, 8.5 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 15.0, 15.0, 16.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 8.0, 2.5, 9.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 7.0, 6.0, 8.0, 8.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 6.0, 6.0, 7.0, 8.5 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "RivetL",
|
||||
"from": [ 0.5, 0.5, -1.5 ],
|
||||
"to": [ 1.5, 1.5, 1.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 0.0, 2.5, 1.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 0.0, 2.5, 1.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 2.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 2.5 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CornerNE",
|
||||
"from": [ 0.0, 0.0, 0.0 ],
|
||||
"to": [ 4.0, 16.0, 1.0 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"rotationY": -90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 12.0, 0.0, 16.0, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 11.5, 0.0, 12.5, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 12.0, 0.0, 16.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 11.5, 0.0, 12.5, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 8.5, 0.5, 12.5, 1.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 9.0, 0.0, 13.0, 1.0 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "CornerNEi",
|
||||
"from": [ 0.0, 0.0, 1.0 ],
|
||||
"to": [ 1.0, 16.0, 4.0 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 1.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 0.0, 3.0, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 0.0, 3.0, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 3.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "StrutNE",
|
||||
"from": [ 5.0, 5.0, 1.0 ],
|
||||
"to": [ 23.0, 7.0, 1.5 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 13.5, 16.0, 15.5 ], "autoUv": false },
|
||||
"east": { "texture": "#iron", "uv": [ 2.5, 7.0, 3.0, 9.0 ], "autoUv": false },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 11.5, 16.0, 13.5 ], "autoUv": false },
|
||||
"west": { "texture": "#iron", "uv": [ 11.0, 0.5, 11.5, 2.5 ], "autoUv": false },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 5.5, 16.0, 6.0 ], "autoUv": false },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 9.5, 16.0, 10.0 ], "autoUv": false }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "RivetU13",
|
||||
"from": [ 16.5, 0.5, -1.5 ],
|
||||
"to": [ 17.5, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 16.0, 0.0, -3.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 7.5, 2.5, 8.5 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 15.0, 15.0, 16.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 8.0, 2.5, 9.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 7.0, 6.0, 8.0, 8.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 6.0, 6.0, 7.0, 8.5 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "RivetL14",
|
||||
"from": [ 0.5, 0.5, -1.5 ],
|
||||
"to": [ 1.5, 1.5, 1.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 0.0, 2.5, 1.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 0.0, 2.5, 1.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 2.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 2.5 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CornerSW",
|
||||
"from": [ 0.0, 0.0, 0.0 ],
|
||||
"to": [ 4.0, 16.0, 1.0 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"rotationY": 90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 6.0, 0.0, 10.0, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 6.0, 0.0, 7.0, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 6.0, 0.0, 10.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 6.0, 0.0, 7.0, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 6.0, 1.0, 10.0, 2.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 5.5, 0.5, 9.5, 1.5 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "CornerSWi",
|
||||
"from": [ 0.0, 0.0, 1.0 ],
|
||||
"to": [ 1.0, 16.0, 4.0 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.5, 0.0, 1.5, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 3.5, 0.0, 6.5, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 1.5, 0.0, 4.5, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 3.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "StrutSW",
|
||||
"from": [ 5.0, 5.0, 1.0 ],
|
||||
"to": [ 23.0, 7.0, 1.5 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"rotationY": 90.0,
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 10.0, 16.0, 12.0 ], "autoUv": false },
|
||||
"east": { "texture": "#iron", "uv": [ 3.0, 3.5, 3.5, 5.5 ], "autoUv": false },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 4.0, 16.0, 6.0 ], "autoUv": false },
|
||||
"west": { "texture": "#iron", "uv": [ 10.5, 3.5, 11.0, 5.5 ], "autoUv": false },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 6.5, 16.0, 7.0 ], "autoUv": false },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 7.5, 16.0, 8.0 ], "autoUv": false }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "RivetU16",
|
||||
"from": [ 16.5, 0.5, -1.5 ],
|
||||
"to": [ 17.5, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 16.0, 0.0, -3.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 7.5, 2.5, 8.5 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 15.0, 15.0, 16.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 8.0, 2.5, 9.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 7.0, 6.0, 8.0, 8.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 6.0, 6.0, 7.0, 8.5 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "RivetL17",
|
||||
"from": [ 0.5, 0.5, -1.5 ],
|
||||
"to": [ 1.5, 1.5, 1.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 0.0, 2.5, 1.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 0.0, 2.5, 1.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 2.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 2.5 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CornerSE",
|
||||
"from": [ 0.0, 0.0, 0.0 ],
|
||||
"to": [ 4.0, 16.0, 1.0 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"rotationY": 180.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 4.0, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 0.0, 4.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 0.0, 4.0, 1.0 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "CornerSEi",
|
||||
"from": [ 0.0, 0.0, 1.0 ],
|
||||
"to": [ 1.0, 16.0, 4.0 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 1.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 0.0, 3.0, 16.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 0.0, 3.0, 16.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 3.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "StrutSW18",
|
||||
"from": [ 5.0, 5.0, 1.0 ],
|
||||
"to": [ 23.0, 7.0, 1.5 ],
|
||||
"rotationOrigin": [ 8.0, 0.0, 8.0 ],
|
||||
"rotationY": -90.0,
|
||||
"rotationZ": 45.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 11.5, 16.0, 13.5 ], "autoUv": false },
|
||||
"east": { "texture": "#iron", "uv": [ 3.5, 7.0, 4.0, 9.0 ], "autoUv": false },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 12.5, 16.0, 14.5 ], "autoUv": false },
|
||||
"west": { "texture": "#iron", "uv": [ 11.5, 2.0, 12.0, 4.0 ], "autoUv": false },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 12.0, 16.0, 12.5 ], "autoUv": false },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 8.5, 16.0, 9.0 ], "autoUv": false }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "RivetU19",
|
||||
"from": [ 16.5, 0.5, -1.5 ],
|
||||
"to": [ 17.5, 1.5, 1.0 ],
|
||||
"rotationOrigin": [ 16.0, 0.0, -3.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 7.5, 2.5, 8.5 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 15.0, 15.0, 16.0, 16.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 8.0, 2.5, 9.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 7.0, 6.0, 8.0, 8.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 6.0, 6.0, 7.0, 8.5 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "RivetL20",
|
||||
"from": [ 0.5, 0.5, -1.5 ],
|
||||
"to": [ 1.5, 1.5, 1.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"east": { "texture": "#iron", "uv": [ 0.0, 0.0, 2.5, 1.0 ] },
|
||||
"south": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
|
||||
"west": { "texture": "#iron", "uv": [ 0.0, 0.0, 2.5, 1.0 ] },
|
||||
"up": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 2.5 ] },
|
||||
"down": { "texture": "#iron", "uv": [ 0.0, 0.0, 1.0, 2.5 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]}
|
||||
40
Assorted/assets/defensive/shapes/block/stone/slot_vert.json
Normal file
40
Assorted/assets/defensive/shapes/block/stone/slot_vert.json
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"editor": {
|
||||
"allAngles": true,
|
||||
"entityTextureMode": false
|
||||
},
|
||||
"textureWidth": 16,
|
||||
"textureHeight": 16,
|
||||
"textureSizes": {
|
||||
},
|
||||
"textures": {
|
||||
"andesite": "block/stone/cobblestoneslab/andesite"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "OuterLeftSide",
|
||||
"from": [ 0.0, 0.0, 0.0 ],
|
||||
"to": [ 4.0, 16.0, 8.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#andesite", "uv": [ 7.0, 0.0, 11.0, 16.0 ] },
|
||||
"east": { "texture": "#andesite", "uv": [ 0.0, 0.0, 8.0, 16.0 ] },
|
||||
"south": { "texture": "#andesite", "uv": [ 7.0, 0.0, 11.0, 16.0 ] },
|
||||
"west": { "texture": "#andesite", "uv": [ 0.0, 0.0, 8.0, 16.0 ] },
|
||||
"up": { "texture": "#andesite", "uv": [ 7.0, 0.0, 11.0, 8.0 ] },
|
||||
"down": { "texture": "#andesite", "uv": [ 7.0, 0.0, 11.0, 8.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "OuterRightSide",
|
||||
"from": [ 12.0, 0.0, 0.0 ],
|
||||
"to": [ 16.0, 16.0, 8.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#andesite", "uv": [ 0.0, 0.0, 4.0, 16.0 ] },
|
||||
"east": { "texture": "#andesite", "uv": [ 0.0, 0.0, 8.0, 16.0 ] },
|
||||
"south": { "texture": "#andesite", "uv": [ 0.0, 0.0, 4.0, 16.0 ] },
|
||||
"west": { "texture": "#andesite", "uv": [ 0.0, 0.0, 8.0, 16.0 ] },
|
||||
"up": { "texture": "#andesite", "uv": [ 0.0, 0.0, 4.0, 8.0 ] },
|
||||
"down": { "texture": "#andesite", "uv": [ 0.0, 0.0, 4.0, 8.0 ] }
|
||||
}
|
||||
}
|
||||
]}
|
||||
85
Assorted/assets/defensive/shapes/block/wood/heavydoor_lower_closed_left.json
Executable file
85
Assorted/assets/defensive/shapes/block/wood/heavydoor_lower_closed_left.json
Executable file
|
|
@ -0,0 +1,85 @@
|
|||
{
|
||||
"editor": {
|
||||
"allAngles": false,
|
||||
"singleTexture": false
|
||||
},
|
||||
"textureWidth": 16,
|
||||
"textureHeight": 16,
|
||||
"textures": {
|
||||
"wall-inside": "block/wood/crate/wall-inside",
|
||||
"oak2": "block/wood/planks/oak2",
|
||||
"oak1": "block/wood/planks/oak1"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Centerpanels",
|
||||
"from": [ 0.0, 0.0, 0.0 ],
|
||||
"to": [ 2.0, 16.0, 16.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#wall-inside", "uv": [ 2.0, 3.0, 4.0, 16.0 ], "autoUv": false, "snapUv": false },
|
||||
"east": { "texture": "#wall-inside", "uv": [ 1.0, 2.0, 14.0, 16.0 ], "autoUv": false, "snapUv": false },
|
||||
"south": { "texture": "#wall-inside", "uv": [ 2.0, 3.0, 4.0, 16.0 ], "autoUv": false, "snapUv": false },
|
||||
"west": { "texture": "#wall-inside", "uv": [ 1.0, 2.0, 14.0, 16.0 ], "autoUv": false, "snapUv": false },
|
||||
"up": { "texture": "#wall-inside", "uv": [ 1.0, 2.5, 14.0, 4.5 ], "rotation": 90, "autoUv": false, "snapUv": false },
|
||||
"down": { "texture": "#wall-inside", "uv": [ 1.0, 2.5, 14.0, 4.5 ], "rotation": 90, "autoUv": false, "snapUv": false }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "LowerBrace",
|
||||
"from": [ 2.0, 2.0, 0.5 ],
|
||||
"to": [ 3.0, 5.0, 15.5 ],
|
||||
"rotationOrigin": [ 2.0, 2.0, 0.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 0.5, 1.0, 1.5, 4.0 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.5, 6.5, 15.5, 9.5 ] },
|
||||
"south": { "texture": "#oak1", "uv": [ 1.0, 1.5, 2.0, 4.5 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 1.0, 7.0, 16.0, 10.0 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 2.5, 15.0, 3.5 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.5, 3.0, 15.5, 4.0 ], "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Handle",
|
||||
"from": [ -2.0, 12.5, 2.0 ],
|
||||
"to": [ -1.0, 16.0, 3.0 ],
|
||||
"rotationOrigin": [ -1.0, -3.0, 0.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak2", "uv": [ 11.0, 2.0, 14.5, 3.0 ], "rotation": 90 },
|
||||
"east": { "texture": "#oak2", "uv": [ 11.0, 2.0, 14.5, 3.0 ], "rotation": 90 },
|
||||
"south": { "texture": "#oak2", "uv": [ 11.0, 2.5, 14.5, 3.5 ], "rotation": 90 },
|
||||
"west": { "texture": "#oak2", "uv": [ 11.0, 2.0, 14.5, 3.0 ], "rotation": 90 },
|
||||
"up": { "texture": "#oak2", "uv": [ 5.5, 2.5, 6.5, 3.5 ] },
|
||||
"down": { "texture": "#oak2", "uv": [ 6.0, 4.0, 7.0, 5.0 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "H_support",
|
||||
"from": [ 1.0, 0.0, 0.0 ],
|
||||
"to": [ 2.0, 1.0, 1.0 ],
|
||||
"rotationOrigin": [ 1.0, 0.0, 0.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"east": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"south": { "texture": "#oak2", "uv": [ 0.0, 2.0, 1.0, 3.0 ] },
|
||||
"west": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"up": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"down": { "texture": "#oak2", "uv": [ 0.0, 2.0, 1.0, 3.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UpperBrace",
|
||||
"from": [ 2.0, 11.0, 0.5 ],
|
||||
"to": [ 3.0, 14.0, 15.5 ],
|
||||
"rotationOrigin": [ 2.0, 11.0, 0.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 10.5, 1.0, 11.5, 4.0 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.5, 12.0, 15.5, 15.0 ] },
|
||||
"south": { "texture": "#oak1", "uv": [ 13.0, 1.5, 14.0, 4.5 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 0.5, 2.0, 15.5, 5.0 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 3.0, 15.0, 4.0 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.5, 3.5, 15.5, 4.5 ], "rotation": 90 }
|
||||
}
|
||||
}
|
||||
]}
|
||||
88
Assorted/assets/defensive/shapes/block/wood/heavydoor_lower_opened_left.json
Executable file
88
Assorted/assets/defensive/shapes/block/wood/heavydoor_lower_opened_left.json
Executable file
|
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"editor": {
|
||||
"allAngles": false,
|
||||
"singleTexture": false
|
||||
},
|
||||
"textureWidth": 16,
|
||||
"textureHeight": 16,
|
||||
"textures": {
|
||||
"oak2": "block/wood/planks/oak2",
|
||||
"oak1": "block/wood/planks/oak1"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Centerpanels",
|
||||
"from": [ 1.0, 0.0, -2.0 ],
|
||||
"to": [ 3.0, 16.0, 14.0 ],
|
||||
"rotationOrigin": [ 1.0, 0.0, 13.0 ],
|
||||
"rotationY": -90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 0.0, 9.0, 16.0, 11.0 ], "rotation": 90 },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.0, 0.0, 16.0, 16.0 ], "rotation": 90 },
|
||||
"south": { "texture": "#oak1", "uv": [ 0.0, 4.0, 16.0, 6.0 ], "rotation": 90 },
|
||||
"west": { "texture": "#oak1", "uv": [ 0.0, 0.0, 16.0, 16.0 ], "rotation": 90 },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 8.0, 16.0, 10.0 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.0, 8.5, 16.0, 10.5 ], "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "LowerBrace",
|
||||
"from": [ 2.0, 2.0, -2.5 ],
|
||||
"to": [ 3.0, 5.0, 12.5 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 13.0 ],
|
||||
"rotationY": -90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 0.5, 1.0, 1.5, 4.0 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.5, 6.5, 15.5, 9.5 ] },
|
||||
"south": { "texture": "#oak1", "uv": [ 1.0, 1.5, 2.0, 4.5 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 1.0, 7.0, 16.0, 10.0 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 2.5, 15.0, 3.5 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.5, 3.0, 15.5, 4.0 ], "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Handle",
|
||||
"from": [ -2.25, 12.5, 0.0 ],
|
||||
"to": [ -1.25, 16.0, 1.0 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 14.0 ],
|
||||
"rotationY": -90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#oak2", "uv": [ 11.0, 2.0, 14.5, 3.0 ], "rotation": 90 },
|
||||
"east": { "texture": "#oak2", "uv": [ 11.0, 2.0, 14.5, 3.0 ], "rotation": 90 },
|
||||
"south": { "texture": "#oak2", "uv": [ 11.0, 2.5, 14.5, 3.5 ], "rotation": 90 },
|
||||
"west": { "texture": "#oak2", "uv": [ 11.0, 2.0, 14.5, 3.0 ], "rotation": 90 },
|
||||
"up": { "texture": "#oak2", "uv": [ 5.5, 2.5, 6.5, 3.5 ] },
|
||||
"down": { "texture": "#oak2", "uv": [ 6.0, 4.0, 7.0, 5.0 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "H_support",
|
||||
"from": [ 1.0, 0.0, 0.0 ],
|
||||
"to": [ 2.0, 1.0, 1.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"east": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"south": { "texture": "#oak2", "uv": [ 0.0, 2.0, 1.0, 3.0 ] },
|
||||
"west": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"up": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"down": { "texture": "#oak2", "uv": [ 0.0, 2.0, 1.0, 3.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UpperBrace",
|
||||
"from": [ 2.0, 11.0, -2.5 ],
|
||||
"to": [ 3.0, 14.0, 12.5 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 13.0 ],
|
||||
"rotationY": -90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 10.5, 1.0, 11.5, 4.0 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.5, 12.0, 15.5, 15.0 ] },
|
||||
"south": { "texture": "#oak1", "uv": [ 13.0, 1.5, 14.0, 4.5 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 0.5, 2.0, 15.5, 5.0 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 3.0, 15.0, 4.0 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.5, 3.5, 15.5, 4.5 ], "rotation": 90 }
|
||||
}
|
||||
}
|
||||
]}
|
||||
211
Assorted/assets/defensive/shapes/block/wood/heavydoor_upper_closed_left.json
Executable file
211
Assorted/assets/defensive/shapes/block/wood/heavydoor_upper_closed_left.json
Executable file
|
|
@ -0,0 +1,211 @@
|
|||
{
|
||||
"editor": {
|
||||
"allAngles": false,
|
||||
"entityTextureMode": false
|
||||
},
|
||||
"textureWidth": 16,
|
||||
"textureHeight": 16,
|
||||
"textureSizes": {
|
||||
},
|
||||
"textures": {
|
||||
"wall-inside": "block/wood/crate/wall-inside",
|
||||
"oak2": "block/wood/planks/oak2",
|
||||
"oak1": "block/wood/planks/oak1"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Centerpanels",
|
||||
"from": [ 0.0, 0.0, 0.0 ],
|
||||
"to": [ 2.0, 16.0, 16.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#wall-inside", "uv": [ 1.0, 2.0, 4.0, 15.0 ], "autoUv": false, "snapUv": false },
|
||||
"east": { "texture": "#wall-inside", "uv": [ 1.0, 2.0, 14.0, 16.0 ], "autoUv": false, "snapUv": false },
|
||||
"south": { "texture": "#wall-inside", "uv": [ 2.0, 3.0, 4.0, 16.0 ], "autoUv": false, "snapUv": false },
|
||||
"west": { "texture": "#wall-inside", "uv": [ 1.5, 2.0, 14.5, 16.0 ], "autoUv": false, "snapUv": false },
|
||||
"up": { "texture": "#wall-inside", "uv": [ 1.0, 12.0, 14.0, 14.0 ], "rotation": 90, "autoUv": false, "snapUv": false },
|
||||
"down": { "texture": "#wall-inside", "uv": [ 0.5, 7.0, 16.5, 9.0 ], "rotation": 90, "snapUv": false }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "LowerBrace",
|
||||
"from": [ 2.0, 1.0, 0.5 ],
|
||||
"to": [ 2.75, 4.0, 15.5 ],
|
||||
"rotationOrigin": [ 2.0, 1.0, 0.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 0.5, 1.0, 1.0, 4.0 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.5, 6.5, 15.5, 9.5 ] },
|
||||
"south": { "texture": "#oak1", "uv": [ 1.0, 1.5, 1.5, 4.5 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 1.0, 7.0, 16.0, 10.0 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 2.5, 15.0, 3.0 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.5, 3.0, 15.5, 3.5 ], "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Handle",
|
||||
"from": [ -2.0, 0.0, 2.0 ],
|
||||
"to": [ -1.0, 4.0, 3.0 ],
|
||||
"rotationOrigin": [ -1.0, -15.0, 0.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak2", "uv": [ 11.0, 2.0, 15.0, 3.0 ], "rotation": 90 },
|
||||
"east": { "texture": "#oak2", "uv": [ 11.0, 2.0, 15.0, 3.0 ], "rotation": 90 },
|
||||
"south": { "texture": "#oak2", "uv": [ 11.0, 2.5, 15.0, 3.5 ], "rotation": 90 },
|
||||
"west": { "texture": "#oak2", "uv": [ 11.0, 2.0, 15.0, 3.0 ], "rotation": 90 },
|
||||
"up": { "texture": "#oak2", "uv": [ 5.5, 2.5, 6.5, 3.5 ] },
|
||||
"down": { "texture": "#oak2", "uv": [ 6.0, 4.0, 7.0, 5.0 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "H_support",
|
||||
"from": [ 1.0, 3.0, 0.0 ],
|
||||
"to": [ 2.0, 4.0, 1.0 ],
|
||||
"rotationOrigin": [ 1.0, 4.0, 0.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"east": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"south": { "texture": "#oak2", "uv": [ 0.0, 2.0, 1.0, 3.0 ] },
|
||||
"west": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"up": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"down": { "texture": "#oak2", "uv": [ 0.0, 2.0, 1.0, 3.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UpperBrace",
|
||||
"from": [ 2.0, 11.0, 0.5 ],
|
||||
"to": [ 3.0, 14.0, 15.5 ],
|
||||
"rotationOrigin": [ 2.0, 11.0, 0.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 10.5, 1.0, 11.5, 4.0 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.5, 12.0, 15.5, 15.0 ] },
|
||||
"south": { "texture": "#oak1", "uv": [ 13.0, 1.5, 14.0, 4.5 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 0.5, 2.0, 15.5, 5.0 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 3.0, 15.0, 4.0 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.5, 3.5, 15.5, 4.5 ], "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "MidBrace",
|
||||
"from": [ 2.0, 6.5, 0.5 ],
|
||||
"to": [ 2.75, 9.5, 6.5 ],
|
||||
"rotationOrigin": [ 2.0, 6.0, 1.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 0.5, 1.0, 1.0, 4.0 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 9.0, 1.0, 15.0, 4.0 ] },
|
||||
"south": { "texture": "#oak1", "uv": [ 1.0, 1.5, 1.5, 4.5 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 0.5, 6.5, 6.5, 9.5 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 1.0, 3.0, 7.0, 3.5 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.5, 3.5, 6.5, 4.0 ], "rotation": 90 }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Bolt",
|
||||
"from": [ 0.0, -2.0, -1.5 ],
|
||||
"to": [ 0.75, -0.25, 5.5 ],
|
||||
"rotationOrigin": [ 0.0, -2.0, -2.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 15.5, 3.0, 16.0, 4.5 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 8.5, 13.0, 15.5, 14.5 ], "rotation": 180 },
|
||||
"south": { "texture": "#oak1", "uv": [ 15.5, 2.5, 16.0, 4.0 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 2.0, 13.5, 9.0, 15.0 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 1.5, 7.0, 2.0 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.0, 12.5, 7.0, 13.0 ], "rotation": 90 }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "BoltHandle",
|
||||
"from": [ 0.5, 0.5, 3.5 ],
|
||||
"to": [ 2.0, 1.5, 4.5 ],
|
||||
"rotationOrigin": [ 0.0, 1.0, 3.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak2", "uv": [ 8.5, 13.0, 10.0, 14.0 ] },
|
||||
"east": { "texture": "#oak2", "uv": [ 8.5, 13.0, 9.5, 14.0 ] },
|
||||
"south": { "texture": "#oak2", "uv": [ 8.0, 13.0, 9.5, 14.0 ] },
|
||||
"west": { "texture": "#oak2", "uv": [ 3.5, 3.5, 4.5, 4.5 ] },
|
||||
"up": { "texture": "#oak2", "uv": [ 8.5, 14.5, 10.0, 15.5 ] },
|
||||
"down": { "texture": "#oak2", "uv": [ 9.0, 14.0, 10.5, 15.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Cover",
|
||||
"from": [ 0.75, -3.5, 0.5 ],
|
||||
"to": [ 1.5, 1.5, 1.75 ],
|
||||
"rotationOrigin": [ 0.0, -4.0, 2.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 0.0, 3.5, 5.0, 4.0 ], "rotation": 90 },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.5, 2.5, 5.5, 3.5 ], "rotation": 90 },
|
||||
"south": { "texture": "#oak1", "uv": [ 0.0, 1.0, 5.0, 1.5 ], "rotation": 90 },
|
||||
"west": { "texture": "#oak1", "uv": [ 0.0, 1.5, 5.0, 2.5 ], "rotation": 90 },
|
||||
"up": { "texture": "#oak1", "uv": [ 1.5, 2.5, 2.0, 3.5 ] },
|
||||
"down": { "texture": "#oak1", "uv": [ 1.5, 1.5, 2.0, 2.5 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"animations": [
|
||||
{
|
||||
"name": "Bolt Opening",
|
||||
"code": "bolt_opening",
|
||||
"quantityframes": 3,
|
||||
"onActivityStopped": "EaseOut",
|
||||
"onAnimationEnd": "Stop",
|
||||
"keyframes": [
|
||||
{
|
||||
"frame": 0,
|
||||
"elements": {
|
||||
"MidBrace": { },
|
||||
"Bolt": { "offsetX": 0.0, "offsetY": 0.0, "offsetZ": 0.0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 1,
|
||||
"elements": {
|
||||
"MidBrace": { },
|
||||
"Bolt": { "offsetX": 0.0, "offsetY": 0.0, "offsetZ": 0.5 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 2,
|
||||
"elements": {
|
||||
"MidBrace": { },
|
||||
"Bolt": { "offsetX": 0.0, "offsetY": 0.0, "offsetZ": 1.0 }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Bolt Closing",
|
||||
"code": "bolt_closing",
|
||||
"quantityframes": 3,
|
||||
"onActivityStopped": "EaseOut",
|
||||
"onAnimationEnd": "Stop",
|
||||
"keyframes": [
|
||||
{
|
||||
"frame": 0,
|
||||
"elements": {
|
||||
"MidBrace": { },
|
||||
"Bolt": { "offsetX": 0.0, "offsetY": 0.0, "offsetZ": 1.5 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 1,
|
||||
"elements": {
|
||||
"MidBrace": { },
|
||||
"Bolt": { "offsetX": 0.0, "offsetY": 0.0, "offsetZ": 1.0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 2,
|
||||
"elements": {
|
||||
"MidBrace": { },
|
||||
"Bolt": { "offsetX": 0.0, "offsetY": 0.0, "offsetZ": 0.3 }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
150
Assorted/assets/defensive/shapes/block/wood/heavydoor_upper_opened_left.json
Executable file
150
Assorted/assets/defensive/shapes/block/wood/heavydoor_upper_opened_left.json
Executable file
|
|
@ -0,0 +1,150 @@
|
|||
{
|
||||
"editor": {
|
||||
"allAngles": false,
|
||||
"singleTexture": false
|
||||
},
|
||||
"textureWidth": 16,
|
||||
"textureHeight": 16,
|
||||
"textures": {
|
||||
"oak2": "block/wood/planks/oak2",
|
||||
"oak1": "block/wood/planks/oak1"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Centerpanels",
|
||||
"from": [ 0.0, 0.0, -3.0 ],
|
||||
"to": [ 2.0, 16.0, 13.0 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 13.0 ],
|
||||
"rotationY": -90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 0.0, 9.0, 16.0, 11.0 ], "rotation": 90 },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.0, 0.0, 16.0, 16.0 ], "rotation": 90 },
|
||||
"south": { "texture": "#oak1", "uv": [ 0.0, 4.0, 16.0, 6.0 ], "rotation": 90 },
|
||||
"west": { "texture": "#oak1", "uv": [ 0.0, 0.0, 16.0, 16.0 ], "rotation": 90 },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 8.0, 16.0, 10.0 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.0, 8.5, 16.0, 10.5 ], "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "LowerBrace",
|
||||
"from": [ 2.0, 1.0, -2.5 ],
|
||||
"to": [ 2.75, 4.0, 12.5 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 13.0 ],
|
||||
"rotationY": -90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 0.5, 1.0, 1.0, 4.0 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.5, 6.5, 15.5, 9.5 ] },
|
||||
"south": { "texture": "#oak1", "uv": [ 1.0, 1.5, 1.5, 4.5 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 1.0, 7.0, 16.0, 10.0 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 2.5, 15.0, 3.0 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.5, 3.0, 15.5, 3.5 ], "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Handle",
|
||||
"from": [ -2.0, 0.0, -1.0 ],
|
||||
"to": [ -1.0, 4.0, 0.0 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 13.0 ],
|
||||
"rotationY": -90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#oak2", "uv": [ 11.0, 2.0, 15.0, 3.0 ], "rotation": 90 },
|
||||
"east": { "texture": "#oak2", "uv": [ 11.0, 2.0, 15.0, 3.0 ], "rotation": 90 },
|
||||
"south": { "texture": "#oak2", "uv": [ 11.0, 2.5, 15.0, 3.5 ], "rotation": 90 },
|
||||
"west": { "texture": "#oak2", "uv": [ 11.0, 2.0, 15.0, 3.0 ], "rotation": 90 },
|
||||
"up": { "texture": "#oak2", "uv": [ 5.5, 2.5, 6.5, 3.5 ] },
|
||||
"down": { "texture": "#oak2", "uv": [ 6.0, 4.0, 7.0, 5.0 ] }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "H_support",
|
||||
"from": [ 1.0, 3.0, 0.0 ],
|
||||
"to": [ 2.0, 4.0, 1.0 ],
|
||||
"rotationOrigin": [ 1.0, 4.0, 0.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"east": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"south": { "texture": "#oak2", "uv": [ 0.0, 2.0, 1.0, 3.0 ] },
|
||||
"west": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"up": { "texture": "#oak2", "uv": [ 0.0, 2.5, 1.0, 3.5 ] },
|
||||
"down": { "texture": "#oak2", "uv": [ 0.0, 2.0, 1.0, 3.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UpperBrace",
|
||||
"from": [ 2.0, 11.0, -2.5 ],
|
||||
"to": [ 3.0, 14.0, 12.5 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 13.0 ],
|
||||
"rotationY": -90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 10.5, 1.0, 11.5, 4.0 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.5, 12.0, 15.5, 15.0 ] },
|
||||
"south": { "texture": "#oak1", "uv": [ 13.0, 1.5, 14.0, 4.5 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 0.5, 2.0, 15.5, 5.0 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 3.0, 15.0, 4.0 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.5, 3.5, 15.5, 4.5 ], "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "MidBrace",
|
||||
"from": [ 2.0, 6.5, -2.5 ],
|
||||
"to": [ 2.75, 9.5, 3.5 ],
|
||||
"rotationOrigin": [ 0.0, 0.0, 13.0 ],
|
||||
"rotationY": -90.0,
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 0.5, 1.0, 1.0, 4.0 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 9.0, 1.0, 15.0, 4.0 ] },
|
||||
"south": { "texture": "#oak1", "uv": [ 1.0, 1.5, 1.5, 4.5 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 0.5, 6.5, 6.5, 9.5 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 1.0, 3.0, 7.0, 3.5 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.5, 3.5, 6.5, 4.0 ], "rotation": 90 }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Bolt",
|
||||
"from": [ 0.0, -2.0, -1.5 ],
|
||||
"to": [ 0.75, -0.25, 5.5 ],
|
||||
"rotationOrigin": [ 0.0, -2.0, -2.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 15.5, 3.0, 16.0, 4.5 ] },
|
||||
"east": { "texture": "#oak1", "uv": [ 8.5, 13.0, 15.5, 14.5 ], "rotation": 180 },
|
||||
"south": { "texture": "#oak1", "uv": [ 15.5, 2.5, 16.0, 4.0 ] },
|
||||
"west": { "texture": "#oak1", "uv": [ 2.0, 13.5, 9.0, 15.0 ] },
|
||||
"up": { "texture": "#oak1", "uv": [ 0.0, 1.5, 7.0, 2.0 ], "rotation": 90 },
|
||||
"down": { "texture": "#oak1", "uv": [ 0.0, 12.5, 7.0, 13.0 ], "rotation": 90 }
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "BoltHandle",
|
||||
"from": [ 0.5, 0.5, 3.5 ],
|
||||
"to": [ 2.0, 1.5, 4.5 ],
|
||||
"rotationOrigin": [ 0.0, 1.0, 3.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak2", "uv": [ 8.5, 13.0, 10.0, 14.0 ] },
|
||||
"east": { "texture": "#oak2", "uv": [ 8.5, 13.0, 9.5, 14.0 ] },
|
||||
"south": { "texture": "#oak2", "uv": [ 8.0, 13.0, 9.5, 14.0 ] },
|
||||
"west": { "texture": "#oak2", "uv": [ 3.5, 3.5, 4.5, 4.5 ] },
|
||||
"up": { "texture": "#oak2", "uv": [ 8.5, 14.5, 10.0, 15.5 ] },
|
||||
"down": { "texture": "#oak2", "uv": [ 9.0, 14.0, 10.5, 15.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Cover",
|
||||
"from": [ 0.75, -3.5, 0.5 ],
|
||||
"to": [ 1.5, 1.5, 1.75 ],
|
||||
"rotationOrigin": [ 0.0, -4.0, 2.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#oak1", "uv": [ 0.0, 3.5, 5.0, 4.0 ], "rotation": 90 },
|
||||
"east": { "texture": "#oak1", "uv": [ 0.5, 2.5, 5.5, 3.5 ], "rotation": 90 },
|
||||
"south": { "texture": "#oak1", "uv": [ 0.0, 1.0, 5.0, 1.5 ], "rotation": 90 },
|
||||
"west": { "texture": "#oak1", "uv": [ 0.0, 1.5, 5.0, 2.5 ], "rotation": 90 },
|
||||
"up": { "texture": "#oak1", "uv": [ 1.5, 2.5, 2.0, 3.5 ] },
|
||||
"down": { "texture": "#oak1", "uv": [ 1.5, 1.5, 2.0, 2.5 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]}
|
||||
BIN
Assorted/assets/defensive/textures/metal/iron_rusty.png
Normal file
BIN
Assorted/assets/defensive/textures/metal/iron_rusty.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2 KiB |
14
Assorted/modinfo.json
Normal file
14
Assorted/modinfo.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"type": "code",
|
||||
"name": "Defensive Structures",
|
||||
"description" : "Buildable structures and emplacments, for Defense!",
|
||||
"authors": ["Melchior"],
|
||||
"version": "0.1.1",
|
||||
"dependencies": {
|
||||
"game": "1.12.0",
|
||||
"survival": ""
|
||||
},
|
||||
"website": "http://noname.nope"
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ namespace FirstMachineAge
|
|||
/*
|
||||
MBM:
|
||||
|
||||
'Cyto' block: points to Nucleus block - 'structural'
|
||||
'Cyto' block: points to Nucleus block - 'structural' (placeholder for Atomic MBM's)
|
||||
'Membrane' block: points to Nucleus block, but also is input/output point for AbstractCircuits / Power
|
||||
'Nucleus' block: houses MBM state/data & definition, as well as list of component block pos, and prototype
|
||||
*/
|
||||
|
|
@ -22,11 +22,12 @@ namespace FirstMachineAge
|
|||
IMultiBlockModule<T> NucleusBlock { get; }
|
||||
BlockPos NucleusLocation { get; }
|
||||
T HostBlock { get; }//The Nucleus - as block
|
||||
bool AtomicBlock { get; } // Is this a self-contained singular MBM (with one model/shape/main-block & some placeholders)
|
||||
|
||||
ILogicNetNode<T> LogicNode { get; }//Possibly null - Only "Membrane's" should have this...
|
||||
MBMType ComponentType { get; }
|
||||
|
||||
IList<T> RelatedBlocks { get; }
|
||||
IList<IMultiBlockModule<T>> RelatedBlocks { get; }
|
||||
//Way to determine - annother module can connect here?
|
||||
bool CheckCompatibility(Block subject, BlockFacing forSide);//Could it be 'placed' if it were a "normal" block
|
||||
IMultiBlockModule<T> FuseBlock(Block subject, BlockFacing forSide);//Pass back resulting Complex, if fused together...
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common", "FirstMachineAge_C
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AccessControls", "AccessControls\AccessControls.csproj", "{180853A2-7E1D-4876-9D1E-AA8608D701C3}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AnvilMetalRecovery", "AnvilMetalRecovery\AnvilMetalRecovery.csproj", "{3EC9A581-655C-4F68-898C-4E773C292082}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assorted", "Assorted\Assorted.csproj", "{805B37F5-F87D-4A63-BD3F-66AE59F1C998}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
|
@ -19,6 +23,14 @@ Global
|
|||
{180853A2-7E1D-4876-9D1E-AA8608D701C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{180853A2-7E1D-4876-9D1E-AA8608D701C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{180853A2-7E1D-4876-9D1E-AA8608D701C3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3EC9A581-655C-4F68-898C-4E773C292082}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3EC9A581-655C-4F68-898C-4E773C292082}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3EC9A581-655C-4F68-898C-4E773C292082}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3EC9A581-655C-4F68-898C-4E773C292082}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{805B37F5-F87D-4A63-BD3F-66AE59F1C998}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{805B37F5-F87D-4A63-BD3F-66AE59F1C998}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{805B37F5-F87D-4A63-BD3F-66AE59F1C998}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{805B37F5-F87D-4A63-BD3F-66AE59F1C998}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(MonoDevelopProperties) = preSolution
|
||||
Policies = $0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue