[ci skip] spotlessApply with the new settings

This commit is contained in:
Jason Mitchell committed 2023-01-28 18:04:28 -08:00
1 parent 83698cb73c
commit 84c2239244
561 files changed
+8872 -9300

No files matched your search

@@ -1,8 +1,7 @@
package tconstruct.world;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.registry.VillagerRegistry;
import mantle.lib.client.MantleClientRegistry;
import net.minecraft.block.material.Material;
import net.minecraft.client.Minecraft;
import net.minecraft.client.model.ModelSlime;
@@ -10,12 +9,16 @@ import net.minecraft.client.particle.*;
import net.minecraft.init.*;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import tconstruct.mechworks.model.CartRender;
import tconstruct.tools.TinkerTools;
import tconstruct.world.entity.*;
import tconstruct.world.model.*;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.registry.VillagerRegistry;
public class TinkerWorldProxyClient extends TinkerWorldProxyCommon {
@Override
public void initialize() {
registerRenderer();
@@ -78,21 +81,31 @@ public class TinkerWorldProxyClient extends TinkerWorldProxyCommon {
// Traps
ItemStack reed = new ItemStack(Items.reeds);
MantleClientRegistry.registerManualLargeRecipe(
"punji", new ItemStack(TinkerWorld.punji, 5), reed, null, reed, null, reed, null, reed, null, reed);
MantleClientRegistry.registerManualSmallRecipe(
"barricade", new ItemStack(TinkerWorld.barricadeOak), null, log, null, log);
"punji",
new ItemStack(TinkerWorld.punji, 5),
reed,
null,
reed,
null,
reed,
null,
reed,
null,
reed);
MantleClientRegistry
.registerManualSmallRecipe("barricade", new ItemStack(TinkerWorld.barricadeOak), null, log, null, log);
}
Minecraft mc = Minecraft.getMinecraft();
@Override
public void spawnParticle(
String particle, double xPos, double yPos, double zPos, double velX, double velY, double velZ) {
public void spawnParticle(String particle, double xPos, double yPos, double zPos, double velX, double velY,
double velZ) {
this.doSpawnParticle(particle, xPos, yPos, zPos, velX, velY, velZ);
}
public EntityFX doSpawnParticle(
String par1Str, double par2, double par4, double par6, double par8, double par10, double par12) {
public EntityFX doSpawnParticle(String par1Str, double par2, double par4, double par6, double par8, double par10,
double par12) {
if (this.mc == null) this.mc = Minecraft.getMinecraft();
if (this.mc.renderViewEntity != null && this.mc.effectRenderer != null) {
@@ -115,12 +128,26 @@ public class TinkerWorldProxyClient extends TinkerWorldProxyCommon {
case "largeexplode":
this.mc.effectRenderer.addEffect(
entityfx = new EntityLargeExplodeFX(
mc.renderEngine, mc.theWorld, par2, par4, par6, par8, par10, par12));
mc.renderEngine,
mc.theWorld,
par2,
par4,
par6,
par8,
par10,
par12));
break;
case "fireworksSpark":
this.mc.effectRenderer.addEffect(
entityfx = new EntityFireworkSparkFX(
mc.theWorld, par2, par4, par6, par8, par10, par12, this.mc.effectRenderer));
mc.theWorld,
par2,
par4,
par6,
par8,
par10,
par12,
this.mc.effectRenderer));
break;
}
@@ -181,7 +208,13 @@ public class TinkerWorldProxyClient extends TinkerWorldProxyCommon {
break;
case "enchantmenttable":
entityfx = new EntityEnchantmentTableParticleFX(
mc.theWorld, par2, par4, par6, par8, par10, par12);
mc.theWorld,
par2,
par4,
par6,
par8,
par10,
par12);
break;
case "explode":
entityfx = new EntityExplodeFX(mc.theWorld, par2, par4, par6, par8, par10, par12);
@@ -206,7 +239,13 @@ public class TinkerWorldProxyClient extends TinkerWorldProxyCommon {
break;
case "reddust":
entityfx = new EntityReddustFX(
mc.theWorld, par2, par4, par6, (float) par8, (float) par10, (float) par12);
mc.theWorld,
par2,
par4,
par6,
(float) par8,
(float) par10,
(float) par12);
break;
case "snowballpoof":
entityfx = new EntityBreakingFX(mc.theWorld, par2, par4, par6, Items.snowball);