Applies the specified part's transformation on the given point.
Applies the specified part's transformation on the given poly.
;----------------------------------------------; | |
; Coder plugin syntax file ; | |
;----------------------------------------------; | |
;Colors | |
; Color need to be in #RRGGBB or #RGB format. | |
; If color equal to zero, then color ignored. | |
; | |
;Font styles | |
; 0 ignored. |
Fluid myFluid = new FluidColored("fluff", 0xFF00FF, new ResourceLocation("tconstruct:blocks/fluids/molten_metal"), new ResourceLocation("tconstruct:blocks/fluids/molten_metal_flow")); FluidRegistry.registerFluid(myFluid); FluidRegistry.addBucketForFluid(myFluid); | |
NBTTagList alloysTagList = new NBTTagList(); | |
NBTTagCompound fluid = new NBTTagCompound(); | |
fluid.setString("FluidName", "fluff"); | |
fluid.setInteger("Amount", 1000); | |
alloysTagList.appendTag(fluid); | |
fluid = new NBTTagCompound(); | |
fluid.setString("FluidName", "lava"); |
/* | |
Copyright © 2014 RainWarrior | |
Permission is granted to anyone to use this software for any purpose, | |
including commercial applications, and to alter it and redistribute it | |
freely, subject to the following restrictions: | |
1. The origin of this software must not be misrepresented; you must not | |
claim that you wrote the original software. |
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |