Skip to content

DeveloperExotic/LegacyCrossPlay

Repository files navigation

Legacy Cross Play

Any questions, need help? Join the server!

CURRENTLY, THE ORIGINAL LEGACY CLIENT IS BROKEN, USE THIS ONE

This project allows Legacy Console Edition clients to join a vanilla 1.8 Java Edition server!

How to Install

Code modifications, or server plugins ARE NOT required!

  • Install NodeJS, you may need to restart your computer after
  • Start a localhost Java Edition server running on port 25564, and in offline mode (you can edit these in server.properties)
  • Run the file install_dependencies.bat, - you only need to run this file one time.
  • Run start.bat, the Java Edition server will appear in the join tab on Legacy Console Edition! You can configure the server IP / PORT in constants.js.

Known issues, will be fixed

  • Chunk lighting is always lit
  • You're unable to craft in survival mode
  • You're unable to accept villager trades

TODO

Chunks

  • Java → LCE chunks
    • Blocks
    • Metadata
    • Lighting
    • Biomes

Inventory Syncing

  • Held item
  • Item dropping
  • Creative items
  • Creative clear
  • Moved items

Sync Gamemode / XP / Health / Hunger

  • Damage knockback / sound

Respawn

  • Death animation
  • Respawn handling

Environment

Time

  • Sync Time
  • DoDaylightCycle fix

Weather

  • Sync Weather

Sound

  • Sound effects

Entities

Base Entities

  • Java edition players
  • Items
  • Mobs

Mob Features

  • Ageable entities
  • Entity metadata (e.g. size, type)
  • Nametags
  • Mob inventory
  • Animations (e.g. bats)

Entity Attachments

  • Attach to entities (e.g. riding pig, minecart, boat)

Damage Translation

LCE Damage → Java Entity

  • Entity
  • Player

Java Damage → LCE Entity

  • Mobs
  • Players
  • Hurt sound
  • Entity velocity knockback

Critical Hits

  • Normal critical
  • Magical critical

Other Entity Systems

  • Fix minecart metadata (e.g. tnt minecart)
  • Arrows
    • Fix arrow bug when colliding with player / low bow pull
  • Falling block entities (e.g. sand, gravel, anvil)
  • Fireball
  • Custom Java Edition skins

Server

Chat

  • Receive server chat
    • Finter server colors
  • Send server chat
  • Fix chat commands (e.g. /say, /tellraw)
  • Java edition english chat translations

Disconnections

  • Our LCE client disconnects
  • Our java player disconnects

Player Animations

LCE → Java

  • Crouch
  • Sprint
  • Attack (swing)
  • Riding
  • Sword blocking

Java → LCE

  • Crouch
  • Sprint
  • Attack
    • Entity
    • Player
  • Eating
  • Sleeping

Block Updates

Java → LCE

  • Creative
  • Survival
  • Explosions

LCE → Java

  • Creative
  • Survival

World

  • Particles
  • Nether and End dimensions

UI

  • Crafting (Hard to implement, coming soon)
  • Brewing stand
  • Furnace
  • Villager trading
    • Accept trade (Hard to implement, coming soon)
  • Anvils
  • Chests