Examples of reduceSaturatedAspects()


Examples of thaumic.tinkerer.common.block.tile.TileInfusedGrain.reduceSaturatedAspects()

                TileInfusedGrain tile = (TileInfusedGrain) player.worldObj.getTileEntity(pos.blockX, pos.blockY, pos.blockZ);
                for (Aspect a : Aspect.getPrimalAspects()) {
                    if (args[0].toUpperCase().equals(a.getName().toUpperCase())) {
                        try {
                            tile.primalTendencies.merge(a, Integer.parseInt(args[1]));
                            tile.reduceSaturatedAspects();
                        } catch (NumberFormatException e) {
                            sender.addChatMessage(new ChatComponentText("Invalid number"));
                        }
                    }
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.