Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.gamebuster19901.dungeonforge.client.render;
- import java.util.List;
- import net.minecraft.block.state.IBlockState;
- import net.minecraft.client.renderer.block.model.BakedQuad;
- import net.minecraft.client.renderer.block.model.IBakedModel;
- import net.minecraft.client.renderer.block.model.ItemOverrideList;
- import net.minecraft.client.renderer.texture.TextureAtlasSprite;
- import net.minecraft.util.EnumFacing;
- public final class NonOccludedModel implements IBakedModel {
- private final IBakedModel model;
- public NonOccludedModel(IBakedModel model) {
- this.model = model;
- }
- @Override
- public List<BakedQuad> getQuads(IBlockState state, EnumFacing side, long rand) {
- return model.getQuads(state, side, rand);
- }
- @Override
- public boolean isAmbientOcclusion() {
- return model.isAmbientOcclusion();
- }
- @Override
- public boolean isGui3d() {
- return model.isGui3d();
- }
- @Override
- public boolean isBuiltInRenderer() {
- return model.isBuiltInRenderer();
- }
- @Override
- public TextureAtlasSprite getParticleTexture() {
- return model.getParticleTexture();
- }
- @Override
- public ItemOverrideList getOverrides() {
- return model.getOverrides();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement