mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
rerun the formatter
This commit is contained in:
parent
ea57f49c8b
commit
ded3877b41
6 changed files with 127 additions and 128 deletions
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* This file ("BlockPlant.java") is part of the Actually Additions mod for Minecraft.
|
||||
* It is created and owned by Ellpeck and distributed
|
||||
* under the Actually Additions License to be found at
|
||||
* http://ellpeck.de/actaddlicense
|
||||
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
||||
*
|
||||
* © 2015-2017 Ellpeck
|
||||
*/
|
||||
* This file ("BlockPlant.java") is part of the Actually Additions mod for Minecraft.
|
||||
* It is created and owned by Ellpeck and distributed
|
||||
* under the Actually Additions License to be found at
|
||||
* http://ellpeck.de/actaddlicense
|
||||
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
||||
*
|
||||
* © 2015-2017 Ellpeck
|
||||
*/
|
||||
|
||||
package de.ellpeck.actuallyadditions.mod.blocks.base;
|
||||
|
||||
|
@ -103,7 +103,7 @@ public class BlockPlant extends BlockCrops implements ItemBlockBase.ICustomRarit
|
|||
drop.shrink(1);
|
||||
deductedSeedSize = true;
|
||||
}
|
||||
if(StackUtil.isValid(drop)){
|
||||
if (StackUtil.isValid(drop)) {
|
||||
ItemHandlerHelper.giveItemToPlayer(player, drop);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,7 +85,6 @@ public enum ConfigStringListValues {
|
|||
new String[0],
|
||||
"The items that aren't allowed to be put in the Repairer. Use REGISTRY NAMES, and if metadata is needed, add it like so: somemod:some_block@3");
|
||||
|
||||
|
||||
public final String name;
|
||||
public final String category;
|
||||
public final String[] defaultValue;
|
||||
|
|
|
@ -163,7 +163,7 @@ public abstract class TileEntityBase extends TileEntity implements ITickable {
|
|||
if(this.world != null && !this.world.isRemote){
|
||||
NBTTagCompound compound = new NBTTagCompound();
|
||||
this.writeSyncableNBT(compound, NBTType.SYNC);
|
||||
|
||||
|
||||
NBTTagCompound data = new NBTTagCompound();
|
||||
data.setTag("Data", compound);
|
||||
data.setInteger("X", this.pos.getX());
|
||||
|
|
|
@ -109,7 +109,7 @@ public abstract class TileEntityLaserRelay extends TileEntityInventoryBase {
|
|||
this.renderParticles();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void renderParticles(){
|
||||
if(this.world.rand.nextInt(8) == 0){
|
||||
|
|
|
@ -289,42 +289,42 @@ public final class AssetUtil {
|
|||
/*if(r != r2 || g != g2 || b != b2){
|
||||
render.begin(GL11.GL_QUADS, DefaultVertexFormats.POSITION_TEX_COLOR);
|
||||
Minecraft.getMinecraft().renderEngine.bindTexture(ClientUtil.LIGHT_BEAM_GRADIENT);
|
||||
|
||||
|
||||
render.pos(length, -beamWidth, beamWidth).tex(0, 0).color(r, g, b, alpha).endVertex();
|
||||
render.pos(length, beamWidth, beamWidth).tex(0, 1).color(r, g, b, alpha).endVertex();
|
||||
render.pos(0, beamWidth, beamWidth).tex(1, 1).color(r, g, b, alpha).endVertex();
|
||||
render.pos(0, -beamWidth, beamWidth).tex(1, 0).color(r, g, b, alpha).endVertex();
|
||||
|
||||
|
||||
render.pos(length, -beamWidth, beamWidth).tex(1, 0).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(length, beamWidth, beamWidth).tex(1, 1).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(0, beamWidth, beamWidth).tex(0, 1).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(0, -beamWidth, beamWidth).tex(0, 0).color(r2, g2, b2, alpha).endVertex();
|
||||
|
||||
|
||||
render.pos(length, beamWidth, -beamWidth).tex(0, 0).color(r, g, b, alpha).endVertex();
|
||||
render.pos(length, -beamWidth, -beamWidth).tex(0, 1).color(r, g, b, alpha).endVertex();
|
||||
render.pos(0, -beamWidth, -beamWidth).tex(1, 1).color(r, g, b, alpha).endVertex();
|
||||
render.pos(0, beamWidth, -beamWidth).tex(1, 0).color(r, g, b, alpha).endVertex();
|
||||
|
||||
|
||||
render.pos(length, beamWidth, -beamWidth).tex(1, 0).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(length, -beamWidth, -beamWidth).tex(1, 1).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(0, -beamWidth, -beamWidth).tex(0, 1).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(0, beamWidth, -beamWidth).tex(0, 0).color(r2, g2, b2, alpha).endVertex();
|
||||
|
||||
|
||||
render.pos(length, beamWidth, beamWidth).tex(0, 0).color(r, g, b, alpha).endVertex();
|
||||
render.pos(length, beamWidth, -beamWidth).tex(0, 1).color(r, g, b, alpha).endVertex();
|
||||
render.pos(0, beamWidth, -beamWidth).tex(1, 1).color(r, g, b, alpha).endVertex();
|
||||
render.pos(0, beamWidth, beamWidth).tex(1, 0).color(r, g, b, alpha).endVertex();
|
||||
|
||||
|
||||
render.pos(length, beamWidth, beamWidth).tex(1, 0).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(length, beamWidth, -beamWidth).tex(1, 1).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(0, beamWidth, -beamWidth).tex(0, 1).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(0, beamWidth, beamWidth).tex(0, 0).color(r2, g2, b2, alpha).endVertex();
|
||||
|
||||
|
||||
render.pos(length, -beamWidth, -beamWidth).tex(0, 0).color(r, g, b, alpha).endVertex();
|
||||
render.pos(length, -beamWidth, beamWidth).tex(0, 1).color(r, g, b, alpha).endVertex();
|
||||
render.pos(0, -beamWidth, beamWidth).tex(1, 1).color(r, g, b, alpha).endVertex();
|
||||
render.pos(0, -beamWidth, -beamWidth).tex(1, 0).color(r, g, b, alpha).endVertex();
|
||||
|
||||
|
||||
render.pos(length, -beamWidth, -beamWidth).tex(1, 0).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(length, -beamWidth, beamWidth).tex(1, 1).color(r2, g2, b2, alpha).endVertex();
|
||||
render.pos(0, -beamWidth, beamWidth).tex(0, 1).color(r2, g2, b2, alpha).endVertex();
|
||||
|
|
|
@ -42,149 +42,149 @@ import net.minecraftforge.common.util.FakePlayer;
|
|||
|
||||
public class NetHandlerSpaghettiServer extends NetHandlerPlayServer {
|
||||
|
||||
public NetHandlerSpaghettiServer(FakePlayer player) {
|
||||
super(null, new NetworkManager(EnumPacketDirection.CLIENTBOUND), player);
|
||||
}
|
||||
public NetHandlerSpaghettiServer(FakePlayer player) {
|
||||
super(null, new NetworkManager(EnumPacketDirection.CLIENTBOUND), player);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disconnect(ITextComponent textComponent) {
|
||||
}
|
||||
@Override
|
||||
public void disconnect(ITextComponent textComponent) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void func_194308_a(CPacketPlaceRecipe p_194308_1_) {
|
||||
}
|
||||
@Override
|
||||
public void func_194308_a(CPacketPlaceRecipe p_194308_1_) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleAnimation(CPacketAnimation packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void handleAnimation(CPacketAnimation packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleRecipeBookUpdate(CPacketRecipeInfo p_191984_1_) {
|
||||
}
|
||||
@Override
|
||||
public void handleRecipeBookUpdate(CPacketRecipeInfo p_191984_1_) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleResourcePackStatus(CPacketResourcePackStatus packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void handleResourcePackStatus(CPacketResourcePackStatus packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleSeenAdvancements(CPacketSeenAdvancements p_194027_1_) {
|
||||
}
|
||||
@Override
|
||||
public void handleSeenAdvancements(CPacketSeenAdvancements p_194027_1_) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleSpectate(CPacketSpectate packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void handleSpectate(CPacketSpectate packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDisconnect(ITextComponent reason) {
|
||||
}
|
||||
@Override
|
||||
public void onDisconnect(ITextComponent reason) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processChatMessage(CPacketChatMessage packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processChatMessage(CPacketChatMessage packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processClickWindow(CPacketClickWindow packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processClickWindow(CPacketClickWindow packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processClientSettings(CPacketClientSettings packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processClientSettings(CPacketClientSettings packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processClientStatus(CPacketClientStatus packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processClientStatus(CPacketClientStatus packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processCloseWindow(CPacketCloseWindow packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processCloseWindow(CPacketCloseWindow packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processConfirmTeleport(CPacketConfirmTeleport packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processConfirmTeleport(CPacketConfirmTeleport packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processConfirmTransaction(CPacketConfirmTransaction packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processConfirmTransaction(CPacketConfirmTransaction packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processCreativeInventoryAction(CPacketCreativeInventoryAction packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processCreativeInventoryAction(CPacketCreativeInventoryAction packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processCustomPayload(CPacketCustomPayload packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processCustomPayload(CPacketCustomPayload packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processEnchantItem(CPacketEnchantItem packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processEnchantItem(CPacketEnchantItem packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processEntityAction(CPacketEntityAction packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processEntityAction(CPacketEntityAction packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processHeldItemChange(CPacketHeldItemChange packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processHeldItemChange(CPacketHeldItemChange packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processInput(CPacketInput packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processInput(CPacketInput packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processKeepAlive(CPacketKeepAlive packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processKeepAlive(CPacketKeepAlive packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processPlayer(CPacketPlayer packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processPlayer(CPacketPlayer packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processPlayerAbilities(CPacketPlayerAbilities packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processPlayerAbilities(CPacketPlayerAbilities packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processPlayerDigging(CPacketPlayerDigging packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processPlayerDigging(CPacketPlayerDigging packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processSteerBoat(CPacketSteerBoat packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processSteerBoat(CPacketSteerBoat packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processTabComplete(CPacketTabComplete packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processTabComplete(CPacketTabComplete packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processTryUseItem(CPacketPlayerTryUseItem packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processTryUseItem(CPacketPlayerTryUseItem packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processTryUseItemOnBlock(CPacketPlayerTryUseItemOnBlock packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processTryUseItemOnBlock(CPacketPlayerTryUseItemOnBlock packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processUpdateSign(CPacketUpdateSign packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processUpdateSign(CPacketUpdateSign packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processUseEntity(CPacketUseEntity packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processUseEntity(CPacketUseEntity packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processVehicleMove(CPacketVehicleMove packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void processVehicleMove(CPacketVehicleMove packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendPacket(Packet<?> packetIn) {
|
||||
}
|
||||
@Override
|
||||
public void sendPacket(Packet<?> packetIn) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPlayerLocation(double x, double y, double z, float yaw, float pitch) {
|
||||
}
|
||||
@Override
|
||||
public void setPlayerLocation(double x, double y, double z, float yaw, float pitch) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPlayerLocation(double x, double y, double z, float yaw, float pitch, Set<EnumFlags> relativeSet) {
|
||||
@Override
|
||||
public void setPlayerLocation(double x, double y, double z, float yaw, float pitch, Set<EnumFlags> relativeSet) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue