laynce portal gun variant

This commit is contained in:
craisinlord committed 2026-10-09 12:14:51 -05:00
1 parent b0fa0fc5bd
commit 459f605cd3
17 files changed
+101 -1

No files matched your search

@@ -429,6 +429,7 @@ public final class CreativeTabContents {
entry("portal_gun_atlas", "combat"), entry("portal_gun_atlas", "combat"),
entry("portal_gun_p_body", "combat"), entry("portal_gun_p_body", "combat"),
entry("portal_gun_craisin", "combat"), entry("portal_gun_craisin", "combat"),
entry("portal_gun_laynce", "combat"),
entry("eye_of_the_storm", "combat"), entry("eye_of_the_storm", "combat"),
entry("water_cannon", "combat"), entry("water_cannon", "combat"),
entry("attitude_adjuster", "combat"), entry("attitude_adjuster", "combat"),
@@ -7,7 +7,8 @@ public enum PortalGunVariant {
DEFAULT("", 0x40A0FF, 0xFF961E, "blue", "orange"), DEFAULT("", 0x40A0FF, 0xFF961E, "blue", "orange"),
ATLAS("atlas", 0x53A6D0, 0x6A2BE0, "blue", "purple"), ATLAS("atlas", 0x53A6D0, 0x6A2BE0, "blue", "purple"),
P_BODY("p_body", 0xF9D660, 0xC0282A, "yellow", "red"), P_BODY("p_body", 0xF9D660, 0xC0282A, "yellow", "red"),
CRAISIN("craisin", 0x6A2BE0, 0xF9D660, "purple", "gold"); CRAISIN("craisin", 0x6A2BE0, 0xF9D660, "purple", "gold"),
LAYNCE("laynce", 0xFF961E, 0x1FBF3A, "orange", "green");
private final String key; private final String key;
private final int blueColor; private final int blueColor;
@@ -674,6 +674,7 @@
"item.antarchy.portal_gun_atlas": "Atlas Portal Gun", "item.antarchy.portal_gun_atlas": "Atlas Portal Gun",
"item.antarchy.portal_gun_p_body": "P-body Portal Gun", "item.antarchy.portal_gun_p_body": "P-body Portal Gun",
"item.antarchy.portal_gun_craisin": "Craisin Portal Gun", "item.antarchy.portal_gun_craisin": "Craisin Portal Gun",
"item.antarchy.portal_gun_laynce": "Laynce Portal Gun",
"item.antarchy.diamond_minecart": "The Diamond Minecart", "item.antarchy.diamond_minecart": "The Diamond Minecart",
"item.antarchy.cogwheel_pet": "Cogwheel Pet", "item.antarchy.cogwheel_pet": "Cogwheel Pet",
"item.antarchy.fire_dragon_pet": "Fire Dragon Pet", "item.antarchy.fire_dragon_pet": "Fire Dragon Pet",
@@ -850,6 +851,7 @@
"tooltip.antarchy.portal_gun.color.yellow": "yellow", "tooltip.antarchy.portal_gun.color.yellow": "yellow",
"tooltip.antarchy.portal_gun.color.red": "red", "tooltip.antarchy.portal_gun.color.red": "red",
"tooltip.antarchy.portal_gun.color.gold": "gold", "tooltip.antarchy.portal_gun.color.gold": "gold",
"tooltip.antarchy.portal_gun.color.green": "green",
"tooltip.antarchy.portal_gun.reset": "Sneak + use: fizzle your active portals.", "tooltip.antarchy.portal_gun.reset": "Sneak + use: fizzle your active portals.",
"tooltip.antarchy.antimetal_inversion": "Inverts entites directly below it", "tooltip.antarchy.antimetal_inversion": "Inverts entites directly below it",
"tooltip.antarchy.diamond_minecart.forward": "Will be implemented later.", "tooltip.antarchy.diamond_minecart.forward": "Will be implemented later.",
@@ -0,0 +1,7 @@
{
"parent": "minecraft:item/generated",
"gui_light": "front",
"textures": {
"layer0": "antarchy:item/portal_gun/portal_gun_laynce_item"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

@@ -129,6 +129,33 @@
"weight": 3 "weight": 3
} }
] ]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "antarchy:portal_gun_atlas"
},
{
"type": "minecraft:item",
"name": "antarchy:portal_gun_p_body"
},
{
"type": "minecraft:item",
"name": "antarchy:portal_gun_craisin"
},
{
"type": "minecraft:item",
"name": "antarchy:portal_gun_laynce"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.08
}
]
} }
], ],
"random_sequence": "antarchy:chests/undertrial_vault" "random_sequence": "antarchy:chests/undertrial_vault"
@@ -0,0 +1,19 @@
{
"type": "antarchy:portal_gun_variant",
"category": "equipment",
"ingredients": [
{
"item": "antarchy:portal_gun"
},
{
"item": "minecraft:orange_dye"
},
{
"item": "minecraft:green_dye"
}
],
"result": {
"id": "antarchy:portal_gun_laynce",
"count": 1
}
}
@@ -23,6 +23,7 @@ public final class SeparateLargeItemModels {
entry(AntarchyFabricItems.PORTAL_GUN_ATLAS.get(), "portal_gun_atlas_gui"), entry(AntarchyFabricItems.PORTAL_GUN_ATLAS.get(), "portal_gun_atlas_gui"),
entry(AntarchyFabricItems.PORTAL_GUN_P_BODY.get(), "portal_gun_p_body_gui"), entry(AntarchyFabricItems.PORTAL_GUN_P_BODY.get(), "portal_gun_p_body_gui"),
entry(AntarchyFabricItems.PORTAL_GUN_CRAISIN.get(), "portal_gun_craisin_gui"), entry(AntarchyFabricItems.PORTAL_GUN_CRAISIN.get(), "portal_gun_craisin_gui"),
entry(AntarchyFabricItems.PORTAL_GUN_LAYNCE.get(), "portal_gun_laynce_gui"),
entry(AntarchyFabricItems.ROYAL_ASSAILANT_BATTLEAXE.get(), "royal_assailant_battleaxe_gui"), entry(AntarchyFabricItems.ROYAL_ASSAILANT_BATTLEAXE.get(), "royal_assailant_battleaxe_gui"),
entry(AntarchyFabricItems.ROYAL_ASSAILANT_STAFF.get(), "royal_assailant_staff_gui"), entry(AntarchyFabricItems.ROYAL_ASSAILANT_STAFF.get(), "royal_assailant_staff_gui"),
entry(AntarchyFabricItems.ROYAL_GUARDIAN_SWORD.get(), "royal_guardian_sword_gui"), entry(AntarchyFabricItems.ROYAL_GUARDIAN_SWORD.get(), "royal_guardian_sword_gui"),
@@ -1594,6 +1594,16 @@ public final class AntarchyFabricItems {
AntarchyFabricBlocks.PORTAL_GUN_PORTAL_BASE, AntarchyFabricBlocks.PORTAL_GUN_PORTAL_BASE,
com.craisinlord.antarchy.content.portalgun.PortalGunVariant.CRAISIN com.craisinlord.antarchy.content.portalgun.PortalGunVariant.CRAISIN
)); ));
public static final DeferredItem<PortalGunItem> PORTAL_GUN_LAYNCE = ITEMS.register("portal_gun_laynce",
() -> new PortalGunItem(
new Item.Properties().stacksTo(1).durability(256).rarity(Rarity.RARE),
AntarchyFabricEntities.PORTAL_GUN_PORTAL,
AntarchyFabricEntities.PORTAL_GUN_BLACK_HOLE,
AntarchyFabricEntities.PORTAL_GUN_PROJECTILE,
AntarchyFabricBlocks.PORTAL_GUN_PORTAL_MASTER,
AntarchyFabricBlocks.PORTAL_GUN_PORTAL_BASE,
com.craisinlord.antarchy.content.portalgun.PortalGunVariant.LAYNCE
));
public static final DeferredItem<EyeOfTheStormItem> EYE_OF_THE_STORM = ITEMS.register("eye_of_the_storm", public static final DeferredItem<EyeOfTheStormItem> EYE_OF_THE_STORM = ITEMS.register("eye_of_the_storm",
() -> new EyeOfTheStormItem(new Item.Properties().stacksTo(1).durability(384).rarity(Rarity.EPIC))); () -> new EyeOfTheStormItem(new Item.Properties().stacksTo(1).durability(384).rarity(Rarity.EPIC)));
@@ -0,0 +1,3 @@
{
"parent": "antarchy:item/portal_gun_held_geo"
}
@@ -634,6 +634,7 @@ public final class AntarchyNeoForgeClient {
registerGeoItemExtension(event, AntarchyNeoforgeItems.PORTAL_GUN_ATLAS.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD); registerGeoItemExtension(event, AntarchyNeoforgeItems.PORTAL_GUN_ATLAS.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD);
registerGeoItemExtension(event, AntarchyNeoforgeItems.PORTAL_GUN_P_BODY.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD); registerGeoItemExtension(event, AntarchyNeoforgeItems.PORTAL_GUN_P_BODY.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD);
registerGeoItemExtension(event, AntarchyNeoforgeItems.PORTAL_GUN_CRAISIN.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD); registerGeoItemExtension(event, AntarchyNeoforgeItems.PORTAL_GUN_CRAISIN.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD);
registerGeoItemExtension(event, AntarchyNeoforgeItems.PORTAL_GUN_LAYNCE.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD);
registerGeoItemExtension(event, AntarchyNeoforgeItems.SQUIDZOOKA.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD); registerGeoItemExtension(event, AntarchyNeoforgeItems.SQUIDZOOKA.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD);
registerGeoItemExtension(event, AntarchyNeoforgeItems.RPO_LAUNCHER.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD); registerGeoItemExtension(event, AntarchyNeoforgeItems.RPO_LAUNCHER.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD);
registerGeoItemExtension(event, AntarchyNeoforgeItems.WATER_CANNON.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD); registerGeoItemExtension(event, AntarchyNeoforgeItems.WATER_CANNON.get(), HumanoidModel.ArmPose.CROSSBOW_HOLD);
@@ -1072,6 +1072,16 @@ public final class AntarchyNeoforgeItems {
AntarchyNeoforgeBlocks.PORTAL_GUN_PORTAL_BASE, AntarchyNeoforgeBlocks.PORTAL_GUN_PORTAL_BASE,
com.craisinlord.antarchy.content.portalgun.PortalGunVariant.CRAISIN com.craisinlord.antarchy.content.portalgun.PortalGunVariant.CRAISIN
)); ));
public static final DeferredItem<PortalGunItem> PORTAL_GUN_LAYNCE = ITEMS.register("portal_gun_laynce",
() -> new PortalGunItem(
new Item.Properties().stacksTo(1).durability(256).rarity(Rarity.RARE),
AntarchyNeoforgeEntites.PORTAL_GUN_PORTAL,
AntarchyNeoforgeEntites.PORTAL_GUN_BLACK_HOLE,
AntarchyNeoforgeEntites.PORTAL_GUN_PROJECTILE,
AntarchyNeoforgeBlocks.PORTAL_GUN_PORTAL_MASTER,
AntarchyNeoforgeBlocks.PORTAL_GUN_PORTAL_BASE,
com.craisinlord.antarchy.content.portalgun.PortalGunVariant.LAYNCE
));
public static final DeferredItem<EyeOfTheStormItem> EYE_OF_THE_STORM = ITEMS.register("eye_of_the_storm", public static final DeferredItem<EyeOfTheStormItem> EYE_OF_THE_STORM = ITEMS.register("eye_of_the_storm",
() -> new EyeOfTheStormItem(new Item.Properties().stacksTo(1).durability(384).rarity(Rarity.EPIC))); () -> new EyeOfTheStormItem(new Item.Properties().stacksTo(1).durability(384).rarity(Rarity.EPIC)));
public static final DeferredItem<SquidzookaItem> SQUIDZOOKA = ITEMS.register("squidzooka", public static final DeferredItem<SquidzookaItem> SQUIDZOOKA = ITEMS.register("squidzooka",
@@ -0,0 +1,18 @@
{
"loader": "neoforge:separate_transforms",
"gui_light": "front",
"base": {
"parent": "antarchy:item/portal_gun_held_geo"
},
"perspectives": {
"gui": {
"parent": "antarchy:item/portal_gun_laynce_gui"
},
"ground": {
"parent": "antarchy:item/portal_gun_laynce_gui"
},
"fixed": {
"parent": "antarchy:item/portal_gun_laynce_gui"
}
}
}