This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[08Apr2019 21:55:14.526] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher starting: java version 1.8.0_191 | |
[08Apr2019 21:55:14.635] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmluserdevclient,fmluserdevserver,fmlclient,fmlserver,fmldevclient,fmldevserver,minecraft,testharness] | |
[08Apr2019 21:55:14.665] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml] | |
[08Apr2019 21:55:14.674] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services [] | |
[08Apr2019 21:55:14.696] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [eventbus,object_holder_definalize,runtime_enum_extender,accesstransformer,capability_inject_definalize,runtimedistcleaner] | |
[08Apr2019 21:55:14.697] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.forgeVers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public boolean render(final IWorldReader worldIn, final BlockPos pos, final BufferBuilder buffer, final IFluidState state) { | |
boolean isLava = state.isTagged(FluidTags.LAVA); | |
TextureAtlasSprite[] atextureatlassprite = isLava ? this.atlasSpritesLava : this.atlasSpritesWater; | |
int waterColor = isLava ? 0xFFFFFF : BiomeColors.getWaterColor(worldIn, pos); | |
float red = (float) (waterColor >> 16 & 255) / 255.0F; | |
float green = (float) (waterColor >> 8 & 255) / 255.0F; | |
float blue = (float) (waterColor & 255) / 255.0F; | |
boolean renderUp = !isAdjacentFluidSameAs(worldIn, pos, EnumFacing.UP, state); | |
boolean renderDown = !isAdjacentFluidSameAs(worldIn, pos, EnumFacing.DOWN, state) && !func_209556_a(worldIn, pos, EnumFacing.DOWN, 0.8888889F); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.cadiboo.examplemod.client; | |
import com.google.common.base.Preconditions; | |
import io.github.cadiboo.examplemod.util.ModReference; | |
import net.minecraft.block.Block; | |
import net.minecraft.client.renderer.block.model.ModelResourceLocation; | |
import net.minecraft.item.Item; | |
import net.minecraft.util.ResourceLocation; | |
import net.minecraftforge.client.event.ModelRegistryEvent; | |
import net.minecraftforge.client.model.ModelLoader; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.cadiboo.examplemod; | |
import com.google.common.base.Preconditions; | |
import net.minecraft.block.Block; | |
import net.minecraft.block.material.Material; | |
import net.minecraft.crash.CrashReport; | |
import net.minecraft.item.Item; | |
import net.minecraft.item.ItemBlock; | |
import net.minecraft.tileentity.TileEntity; | |
import net.minecraft.util.ReportedException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.cadiboo.nocubes.hooks; | |
import io.github.cadiboo.nocubes.NoCubes; | |
import io.github.cadiboo.nocubes.client.UVHelper; | |
import io.github.cadiboo.nocubes.client.render.RenderDispatcher; | |
import io.github.cadiboo.nocubes.config.Config; | |
import io.github.cadiboo.nocubes.mesh.MeshDispatcher; | |
import io.github.cadiboo.nocubes.util.pooled.Face; | |
import io.github.cadiboo.nocubes.util.pooled.FaceList; | |
import io.github.cadiboo.nocubes.util.pooled.Vec3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var transformerName = "NoCubes ModelBiped Transformer"; | |
var isSRG; | |
function initializeCoreMod() { | |
return { | |
transformerName: { | |
'target': { | |
'type': 'CLASS', | |
'name': 'net.minecraft.client.renderer.entity.model.ModelBiped' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RenderChunk | |
public net.minecraft.client.renderer.chunk.RenderChunk * | |
public net.minecraft.client.renderer.chunk.RenderChunk func_178573_a(Lnet/minecraft/client/renderer/BufferBuilder;Lnet/minecraft/util/math/BlockPos;)V # preRenderBlocks | |
public net.minecraft.client.renderer.chunk.RenderChunk func_178584_a(Lnet/minecraft/util/BlockRenderLayer;FFFLnet/minecraft/client/renderer/BufferBuilder;Lnet/minecraft/client/renderer/chunk/CompiledChunk;)V # postRenderBlocks | |
public net.minecraft.client.renderer.chunk.CompiledChunk * | |
public net.minecraft.client.renderer.chunk.CompiledChunk func_178486_a(Lnet/minecraft/util/BlockRenderLayer;)V # setLayerUsed | |
public net.minecraft.client.renderer.chunk.CompiledChunk$1 func_178486_a(Lnet/minecraft/util/BlockRenderLayer;)V # setLayerUsed | |
# NoCubes | |
public net.minecraft.client.renderer.WorldRenderer field_72769_h # world |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.cadiboo.nocubes.util; | |
import net.minecraft.profiler.Profiler; | |
import org.apache.logging.log4j.LogManager; | |
import org.apache.logging.log4j.Logger; | |
import java.util.HashMap; | |
/** | |
* @author Cadiboo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// class version 52.0 (52) | |
// access flags 0x21 | |
public class Testing { | |
// compiled from: Testing.java | |
// access flags 0xA | |
private static INNERCLASS Testing$Tester Testing Tester | |
// access flags 0x60A | |
private static abstract INNERCLASS Testing$Test Testing Test | |
// access flags 0x8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.tick(this::isAheadOfTime); |