GUI Rendering and various fixes

This commit is contained in:
Sebastian Hartte
2020-06-07 03:29:57 +02:00
parent 97f04922b9
commit 46b1d1ffdc
72 changed files with 650 additions and 552 deletions
@@ -7,3 +7,6 @@ protected net.minecraft.inventory.container.Container field_75149_d # listeners
# Reusing RedstoneParticle for ChargedOreFX
protected net.minecraft.client.particle.RedstoneParticle <init>(Lnet/minecraft/world/World;DDDDDDLnet/minecraft/particles/RedstoneParticleData;Lnet/minecraft/client/particle/IAnimatedSprite;)V
# We need to change yPos of existing slots to resize the container
public-f net.minecraft.inventory.container.Slot field_75221_f # yPos
@@ -1,60 +1,65 @@
{
"forge_marker": 1,
"defaults": {
"multipart": [
{
"apply": {
"model": "appliedenergistics2:block/chest/base"
}
},
"variants": {
"slot_state": {
"empty": {
"submodel": {
"lights": {
"model": "appliedenergistics2:block/chest/lights_off"
},
"state": {
"model": "appliedenergistics2:block/chest/cell_state_empty"
}
}
},
"offline": {
"submodel": {
"lights": {
"model": "appliedenergistics2:block/chest/lights_off"
},
"state": {
"model": "appliedenergistics2:block/chest/cell_state_offline"
}
}
},
"online": {
"submodel": {
"lights": {
"model": "appliedenergistics2:block/chest/lights_on"
},
"state": {
"model": "appliedenergistics2:block/chest/cell_state_online"
}
}
},
"types_full": {
"submodel": {
"lights": {
"model": "appliedenergistics2:block/chest/lights_on"
},
"state": {
"model": "appliedenergistics2:block/chest/cell_state_types_full"
}
}
},
"full": {
"submodel": {
"lights": {
"model": "appliedenergistics2:block/chest/lights_on"
},
"state": {
"model": "appliedenergistics2:block/chest/cell_state_full"
}
}
}
}
{
"when": {
"slot_state": "empty|offline"
},
"apply": {
"model": "appliedenergistics2:block/chest/lights_off"
}
},
{
"when": {
"slot_state": "online|types_full|full"
},
"apply": {
"model": "appliedenergistics2:block/chest/lights_on"
}
},
{
"when": {
"slot_state": "empty"
},
"apply": {
"model": "appliedenergistics2:block/chest/cell_state_empty"
}
},
{
"when": {
"slot_state": "offline"
},
"apply": {
"model": "appliedenergistics2:block/chest/cell_state_offline"
}
},
{
"when": {
"slot_state": "online"
},
"apply": {
"model": "appliedenergistics2:block/chest/cell_state_online"
}
},
{
"when": {
"slot_state": "types_full"
},
"apply": {
"model": "appliedenergistics2:block/chest/cell_state_types_full"
}
},
{
"when": {
"slot_state": "full"
},
"apply": {
"model": "appliedenergistics2:block/chest/cell_state_full"
}
}
]
}
@@ -1,5 +1,4 @@
{
"forge_marker": 1,
"variants": {
"": {
"model": "appliedenergistics2:block/crank"
@@ -113,6 +113,8 @@
"gui.appliedenergistics2.security.build.tip": "User can modify the physical structure of the network, and make configuration changes.",
"gui.appliedenergistics2.security.security.tip": "User can access and modify the security terminal of the network.",
"appliedenergistics2.permission_denied": "You lack permission to access this.",
"gui.appliedenergistics2.Efficiency": "Efficiency",
"gui.appliedenergistics2.SCSSize": "SCS Size",
"gui.appliedenergistics2.SCSInvalid": "Invalid",
@@ -0,0 +1,15 @@
{
"parent": "item/generated",
"textures": {
"layer0": "appliedenergistics2:item/color_applicator"
},
"overrides": [
{
"predicate": {
"appliedenergistics2:colored": 1
},
"model": "appliedenergistics2:item/color_applicator_colored"
}
]
}
@@ -1,6 +0,0 @@
{
"parent": "item/generated",
"textures": {
"layer0": "appliedenergistics2:item/color_applicator"
}
}